Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get to the root directory /var/lib/docker we must access the docker virtual machine being used on our mac

docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #root #directory #access #docker #virtual #machine #mac
ADD COMMENT
Topic
Name
5+4 =