Password for root user?
Tao87-04 opened this issue · comments
Tao87-04 commented
Hi, i must install a extra app. so i try command "su root apt-get update" but without root passwort, i cant do it ^^
I uses Steam Docker release
Walentin commented
The image doesn't have a root password. There are two options you can use to install additional packages:
-
Go with the image variant
cm2network/steamcmd:root
where the default user is root. -
Use
docker exec -it -u=root containername bash
on a running container to start a shell as root.
Tao87-04 commented
ah, i try it in terminal from docker gui. And in this terminal was the password prompt for root. So i try your soloution :)