Accessing application running in docker

We have a test setup where in there are several containers (Database, Backend, Frontend) running and the end to end tests are running against that setup. In order to perform some debugging, is it somehow possible to connect to the docker containers while they are running ?

Much in the same way that you would with a dedicated system.

  • use the connect with ssh feature so that you have access to the system’s command line, from which you can then just use docker exec.

  • If you use a dynamic IP service you can have the build system just update a DNS entry with it’s IP address and so make any IP published service via DNS cname mapping.