get to the root directory /var/lib/docker we must access the docker virtual machine being used on our mac code example
Example: 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