Closed ZuluPilgrim closed 1 month ago
I have installed a stand alone Kasm server following https://www.kasmweb.com/docs/latest/install/single_server_install.html#installation-guide.
I am wanting to create a docker container for some other project that I am looking at but when I try and bring it up using docker compose up -d
docker compose up -d
I get
myadmin@kasm-01:~/docker/stirling-pdf$ sudo docker compose up -d && docker compose logs -f [+] Running 1/1 ⠿ Container stirling-pdf-stirling-pdf-1 Started 8.3s Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.oneoff%3DFalse%22%3Atrue%2C%22com.docker.compose.project%3Dstirling-pdf%22%3Atrue%7D%7D&limit=0": dial unix /var/run/docker.sock: connect: permission denied
I have tried adding myadmin to the docker group but this did not help sudo usermod -aG docker myadmin
sudo usermod -aG docker myadmin
Is there another group that I need to add myadmin to?
Actually I just checked and the container is working just fine. So my questions are:
Once I logged off and on again, it seemed to be fine.
I have installed a stand alone Kasm server following https://www.kasmweb.com/docs/latest/install/single_server_install.html#installation-guide.
I am wanting to create a docker container for some other project that I am looking at but when I try and bring it up using
docker compose up -d
I get
I have tried adding myadmin to the docker group but this did not help
sudo usermod -aG docker myadmin
Is there another group that I need to add myadmin to?
Actually I just checked and the container is working just fine. So my questions are: