Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker interactive shell

docker exec -it [containerid/name] [shell]

#Example
docker exec -it fa80b69 bash
#if its an apline container use "sh" instead of "bash"
Source by docs.docker.com #
 
PREVIOUS NEXT
Tagged: #docker #interactive #shell
ADD COMMENT
Topic
Name
3+6 =