Root access to the containers is provided for testing and restoring purposes.
To have persistent modifications, the Docker image or the docker-compose.yml must be modified.
If you have access to the main server and are part of the docker
UNIX group, you can get a root access to a container is using docker-compose
.
- First, login in ssh with your personal account to the main server.
- Execute the following (needs to be in the
docker
group or root priviledges) :
cd /home/VNC/prod/<user>
docker-compose exec vnc bash