This repository was archived by the owner on Mar 27, 2024. It is now read-only.
This repository was archived by the owner on Mar 27, 2024. It is now read-only.
Error attempting to use container-diff w/ gcr.io. Permission denied for /etc/docker/certs.d/gcr.io #21
Closed
Description
I have public images hosted @ gcr.io that I am attempting to diff. When trying to run container-diff, I get the following errors:
aprindle@aprindle:~/runtimes-common/src/github.com/GoogleCloudPlatform/container-diff$ ./container-diff gcr.io/k8s-minikube
/localkube-dind-image:v1.7.0 gcr.io/k8s-minikube/localkube-dind-image:v1.7.0-devshell
E0817 11:31:59.112045 98632 image_prep_utils.go:121] open /etc/docker/certs.d/gcr.io: permission denied
E0817 11:31:59.112369 98632 root.go:75] open /etc/docker/certs.d/gcr.io: permission denied
Running the command with sudo resolves the issue
Metadata
Metadata
Assignees
Labels
No labels