Nadav Avrahami
Nadav Avrahami

Reputation: 11

Accessing local docker registry from Skopeo container

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!

Upvotes: 1

Views: 885

Answers (0)

Related Questions