Docker Can t connect to docker daemon

0 votes

I update my Docker version to 0.8.0.

Now, I get this error message while entering sudo docker version:

Client version: 0.8.0
Go version (client): go1.2
Git commit (client): cc3a8c8
2014/02/19 12:54:16 Can't connect to docker daemon. Is 'docker -d' running on this host?

And I've followed the instructions and entered command sudo docker -d, and this is what I got:

[/var/lib/docker|2462000b] +job initserver()
[/var/lib/docker|2462000b.initserver()] Creating server
open /var/lib/docker/aufs/layers/cf2414da53f9bcfaa48bc3d58360d7f1cfd3784e4fe51fbef95197709dfc285d: no such file or directory[/var/lib/docker|2462000b] -job initserver() = ERR (1)
2014/02/19 12:55:57 initserver: open /var/lib/docker/aufs/layers/cf2414da53f9bcfaa48bc3d58360d7f1cfd3784e4fe51fbef95197709dfc285d: no such file or directory

Can anybody do anything about this?

Jun 7, 2019 in Linux Administration by Upasana
• 8,620 points
1,028 views

1 answer to this question.

0 votes

Documentation Link: Post-installation steps for Linux 

This documentation reveals the following steps:
  1. Create the docker group.
    sudo groupadd docker
  2. Add the user to the docker group.
    sudo usermod -aG docker $(whoami)
  3. Log out and log back in to ensure docker runs with correct permissions.
  4. Start docker.
    sudo service docker start
answered Jun 8, 2019 by Shubham
• 13,490 points

Related Questions In Linux Administration

0 votes
1 answer

How to block an IP address to connect my webserver?

Hi@akhtar, You can block one IP address using ...READ MORE

answered Jun 10, 2020 in Linux Administration by MD
• 95,440 points
564 views
0 votes
0 answers

why can't i go to dev directory

root@localhost:/dev# ls ls: cannot open directory '.': Permission ...READ MORE

Nov 12, 2021 in Linux Administration by anonymous
• 120 points
229 views
0 votes
0 answers

Can't connect cloudflare warp vpn in linux

I installed and set up Cloudflare warp ...READ MORE

Apr 13, 2022 in Linux Administration by Aditya
• 7,680 points
1,126 views
0 votes
1 answer

How to display a simple list of all disks, like this /dev/sda /dev/sdb ?

You can list all the disk in ...READ MORE

answered Jul 12, 2018 in Linux Administration by DearestOne
• 200 points
5,048 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,467 views
0 votes
1 answer

Removing a symlink to a directory

rm foo try this. Also, You need write ...READ MORE

answered May 15, 2019 in Linux Administration by Shubham
• 13,490 points
469 views
0 votes
1 answer

Writing a heredoc to a file in a script

try to use tee: tee newfile <<EOF line 1 line 2 line ...READ MORE

answered May 20, 2019 in Linux Administration by Shubham
• 13,490 points
1,310 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP