CM2Walki / steamcmd

Minimal image containing Valve's SteamCMD binary: https://hub.docker.com/r/cm2network/steamcmd/

Home Page:https://CM2.Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Password for root user?

Tao87-04 opened this issue · comments

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

The image doesn't have a root password. There are two options you can use to install additional packages:

  1. Go with the image variant cm2network/steamcmd:root where the default user is root.

  2. Use docker exec -it -u=root containername bash on a running container to start a shell as root.

ah, i try it in terminal from docker gui. And in this terminal was the password prompt for root. So i try your soloution :)