Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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>
 
PREVIOUS NEXT
Tagged: #docker #execute #command #container
ADD COMMENT
Topic
Name
6+7 =