DockStation / dockstation

DockStation is developer-centric application to managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers using just a GUI.
https://dockstation.io/
2.13k stars 106 forks source link

Error Connect #297

Open nptss opened 2 years ago

nptss commented 2 years ago

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

ashishcas commented 2 years ago

i am facing same issue

nptss commented 2 years ago

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

NEK-RA commented 2 years ago

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

nptss commented 2 years ago

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

NEK-RA commented 2 years ago

@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)

nptss commented 2 years ago

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/_