Docker error permission denied and where do the images end up after pull?

I have two questions.

1) I get an error when I run:

  • Docker best practice on base images and host os
  • Error when creating container with golang docker engine
  • Running Couchbase under GCE Docker and getting error about max number of files
  • Cannot connect to the Docker daemon on Windows 7
  • Auto-restart Docker container when contents of host folder change
  • How to check if a Docker image with a specific tag exist locally?
  • 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?

  • Docker in host mode cannot connect to database running on host
  • docker swarm throws 404 page not found error while checking node details
  • How to use docker to create a minimal live ISO that runs docker?
  • where are $POSTGRES_PORT_5432_TCP_ADDR and $POSTGRES_PORT_5432_TCP_PORT come from?
  • Recover docker container's run arguments
  • Route traffic to a docker container based on subdomain
  • One Solution collect form web for “Docker error permission denied and where do the images end up after pull?”

    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.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.