dockstation icon indicating copy to clipboard operation
dockstation copied to clipboard

Error Connect

Open nptss opened this issue 3 years ago • 6 comments

image I can't connect docker in ubuntu 18.04. docker command was added to sudoer, but still can't conect. Help me please

nptss avatar Oct 24 '21 00:10 nptss

i am facing same issue

ashishcas avatar Oct 27 '21 20:10 ashishcas

[SOLVED] @ashishcas Thanks so much, I found a solution for this problem. just sudo apt install docker-compose and Solved, DeepinScreenshot_select-area_20211110191508

nptss avatar Nov 10 '21 12:11 nptss

@nptss do you run dockstation with sudo? or without it?

NEK-RA avatar Nov 10 '21 12:11 NEK-RA

@NEK-RA without sudo, just like this DeepinScreenshot_select-area_20211110193204

nptss avatar Nov 10 '21 12:11 nptss

@nptss Do you used any specific groups or anything else? Because in my case when I launch app "as is" (without sudo) it show's me error (I didn't choose option "docker machine"), but when I start it with sudo - then dockstation doesn't show any errors

UPD: after rebooting everything works as expected. (I didn't rebooted after docker installation)

NEK-RA avatar Nov 10 '21 13:11 NEK-RA

Yeah docker was added to group, Please try : Create the docker group.

sudo groupadd docker

Add your user to the docker group.

sudo usermod -aG docker $USER

Log out / reboot and log back in so that your group membership is re-evaluated.

On Linux, you can also run the following command to activate the changes to groups:

newgrp docker

Verify that you can run docker commands without sudo.

docker run hello-world

do you see like this ? _Hello from Docker! This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:

  1. The Docker client contacted the Docker daemon.
  2. The Docker daemon pulled the "hello-world" image from the Docker Hub. (amd64)
  3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading.
  4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal.

To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID: https://hub.docker.com/

For more examples and ideas, visit: https://docs.docker.com/get-started/_

nptss avatar Nov 10 '21 13:11 nptss