G
G
getto2122018-12-18 11:21:29
Docker
getto212, 2018-12-18 11:21:29

How to test the application inside a docker container?

How to raise and check for correct operation of the application inside the docker container

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2018-12-18
@getto212

option 1 - watch the container logs
option 2 - connect to the container and look inside, as on a regular host - docker exec -it <conteiner_id> /bin/bash
the second option, of course, may not work, it depends on the container - is there bash inside or not, etc.

B
bogdanov_a90, 2018-12-28
@bogdanov_a90

For more convenient viewing of logs and work in the console, I can advise https://www.portainer.io

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question