Accessing local docker registry from Skopeo container

714 Views Asked by At

I have a local docker registry on my mac and I want to be able to perform this type of command:

docker run quay.io/skopeo/stable inspect

Tried to use

docker run quay.io/skopeo/stable inspect docker-daemon:<image>

(docker-daemon will use the local registry)

Error loading image from docker engine: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"

I guess the error is coming because the docker container I am running doesn't have a local docker registry.

Thanks!

0

There are 0 best solutions below