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