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