When you use a docker container, it could be interresting to be with root user.
It can be necessary to install some temporary tools for instance.
To simply you connect to the container with root user (id = 0), type the following command :
docker exec -u 0 -it mycontainer /bin/sh
Sometimes when you install manually some packages, they are broken and the command
sudo apt --fix-broken install
does not works !
In this case, 2 steps to correct:
- Soft correction
sudo apt-get update --fix-missing sudo dpkg --configure -a sudo apt-get install -f
If the problem of a bro...