Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ssh into docker container

docker exec --user root -it <container name> /bin/bash

docker exec <container name> bash -c  printenv
Source by phase2.github.io #
 
PREVIOUS NEXT
Tagged: #ssh #docker #container
ADD COMMENT
Topic
Name
1+5 =