3
votes

I have two questions.

1) I get an error when I run:

karl@karl-laptop:~o docker pull node
2015/04/29 01:39:41 Post http:///var/run/docker.sock/images/create?fromImage=banode&tag=: dial unix /var/run/docker.sock: permission denied

2) When I pull down images, where are they located?

2

2 Answers

3
votes

The permission error could be due to the Docker socket being owned by root and thus either you have to use sudo or following the instructions in this link to Create a docker group

For the default docker storage driver, aufs, the images are found in /var/lib/docker/aufs/diff/, assuming the Root Dir for Docker is /var/lib/docker/aufs. You can find this out by running docker info.

2
votes

Add yourself to the docker group by running

sudo usermod -a -G docker $USER

and log out and back in