It is also important to be able to get root permissions inside the container. For Docker, I would suggest adding "-u0" as follows: $ docker exec -it -u0 example-centos /bin/bash
It is also important to be able to get root permissions inside the container. For Docker, I would suggest adding "-u0" as follows:
$ docker exec -it -u0 example-centos /bin/bash