dockstation
dockstation copied to clipboard
Error Connect
I can't connect docker in ubuntu 18.04. docker command was added to sudoer, but still can't conect. Help me please
i am facing same issue
[SOLVED]
@ashishcas Thanks so much,
I found a solution for this problem.
just
sudo apt install docker-compose
and Solved,
@nptss do you run dockstation with sudo? or without it?
@NEK-RA
without sudo, just like this
@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)
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:
- The Docker client contacted the Docker daemon.
- The Docker daemon pulled the "hello-world" image from the Docker Hub. (amd64)
- The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading.
- 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/_