How do I get selenium to work using docker?

So I created two dockerfiles for a chatbot project made with rasa, the first file is for the rasa server and the second file is for the actions server (where most of python code takes place). Now I use docker compose to run both files and run the whole project, but when I ask for something that requires an output from selenium, it doesnt work, nothing is returned, like if my actions server is not working. any help?

Where do you expect that output? Is it a command line output or a downloaded file? Docker does not breake your standard output in the terminal normally. Except the new line character sometimes. If you don’t have any output, that is something for which we need more information. A compose file and Dockerfile for example. If this is a command that you can run manually inside a container, you could try that just for the test and see if that works.