Answers for "execute into docker container"

11

how to bash into docker container

docker exec -it nginx /bin/bash
Posted by: Guest on May-26-2020
0

docker execute command in container

# Windows Powershell | CMD
# Make sure open as administrator
docker exec <container name> <command>
# Linux
sudo docker exec -it <container name> <command>
Posted by: Guest on September-20-2021

Browse Popular Code Answers by Language