-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker manifest create fails due to permission denied on /etc/docker/certs.d/gcr.io #396
Closed
2 of 3 tasks
Comments
I was able to fix this by running |
@ixdy I think that this one was fixed on moby/moby#37847 Can we close it? |
yes, let's close this one; thanks! |
Sorry, this is strange because |
schjan
added a commit
to schjan/fritzdect-exporter
that referenced
this issue
Jun 17, 2019
paulfantom
added a commit
to prometheus-operator/prometheus-operator
that referenced
this issue
Apr 29, 2020
`docker manifest` command needs access to /etc/docker/cert.d which is prevented by default
brancz
added a commit
to prometheus-operator/prometheus-operator
that referenced
this issue
Apr 29, 2020
paulfantom
added a commit
to paulfantom/kube-rbac-proxy
that referenced
this issue
May 7, 2020
paulfantom
added a commit
to paulfantom/prometheus-operator
that referenced
this issue
Jun 8, 2020
* upstream/release-0.39: (73 commits) Release v0.39.0 (prometheus-operator#3197) .github/ISSUE_TEMPLATES: add note about helm; remove tectonic-installer :( *: remove v1beta1 crds Update compatibility matrix Workaround for docker/for-linux#396 *: create separate namespace informers if needed README.md: add v1beta1-crd bundle to quickstart test: bump CRDs from v1beta1 to v1 bundle,example,jsonnet: regenerate Makefile: add generate-crds rule scripts: generate bundle with v1beta1 CRDs scripts: add script to generate crds pkg/thanos: fix typo in statefulset informer (prometheus-operator#3179) test/e2e: add volume claim template metadata test update generated files for pvc metadata fix types: use custom type for embedded persistent volume claims scripts: build container images for multiple architectures allow easier builds for ARM architecture Support matching only pod monitors Fix `make generate-in-docker` on macOS ...
paulfantom
added a commit
to paulfantom/prometheus-operator
that referenced
this issue
Jun 8, 2020
* upstream/release-0.39: (73 commits) Release v0.39.0 (prometheus-operator#3197) .github/ISSUE_TEMPLATES: add note about helm; remove tectonic-installer :( *: remove v1beta1 crds Update compatibility matrix Workaround for docker/for-linux#396 *: create separate namespace informers if needed README.md: add v1beta1-crd bundle to quickstart test: bump CRDs from v1beta1 to v1 bundle,example,jsonnet: regenerate Makefile: add generate-crds rule scripts: generate bundle with v1beta1 CRDs scripts: add script to generate crds pkg/thanos: fix typo in statefulset informer (prometheus-operator#3179) test/e2e: add volume claim template metadata test update generated files for pvc metadata fix types: use custom type for embedded persistent volume claims scripts: build container images for multiple architectures allow easier builds for ARM architecture Support matching only pod monitors Fix `make generate-in-docker` on macOS ...
Madhu-1
added a commit
to Madhu-1/ceph-csi
that referenced
this issue
Jul 16, 2020
This is a workaround to fix docker permission denied issue during manifest create in Travis CI `docker manifest create` fails due to permission denied on `/etc/docker/certs.d/quay.io` more info docker/for-linux#396. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
mergify bot
pushed a commit
to ceph/ceph-csi
that referenced
this issue
Jul 16, 2020
This is a workaround to fix docker permission denied issue during manifest create in Travis CI `docker manifest create` fails due to permission denied on `/etc/docker/certs.d/quay.io` more info docker/for-linux#396. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
docker manifest create
is able to create a manifest list without any special permissions, running as my normal, unprivileged user.Actual behavior
docker manifest create
tries to read from/etc/docker/certs.d
and fails, because that directory is only accessible to root, and the docker client is not running as root.Steps to reproduce the behavior
A more concrete example that I'm using:
test/images
make all-container WHAT=net
, which builds several arch-specific images ofgcr.io/kubernetes-e2e-test-images/net
docker manifest create gcr.io/kubernetes-e2e-test-images/net gcr.io/kubernetes-e2e-test-images/net-ppc64le gcr.io/kubernetes-e2e-test-images/net-arm64 gcr.io/kubernetes-e2e-test-images/net-arm gcr.io/kubernetes-e2e-test-images/net-amd64
, which fails:While
/etc/docker/certs.d/gcr.io
is missing, I don't think creating this directory would help, since this directory wouldn't be readable by my user:I tried passing
--insecure
todocker manifest create
, but that didn't seem to have any effect.Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)
This is running on an Ubuntu Xenial VM on GCE, though I experience the same issue using docker 18.03.0-ce on a debian-based linux workstation.
The text was updated successfully, but these errors were encountered: