Interact With Docker Container Shell

[Solved] Interact With Docker Container Shell | Groovy - Code Explorer | yomemimo.com
Question : interact with docker container shell

Answered by : yellowed-yak-6jt26tmnlbp0

docker container run --name c1 --rm -d nginx:latest
docker container exec c1 cat /etc/nginx/nginx.conf
docker container exec -it c1 sh

Source : https://learndocker.online/fundamentals/container-lifecycle/visit-your-container/ | Last Update : Wed, 04 May 22

Answers related to interact with docker container shell

Code Explorer Popular Question For Groovy