Skip to content
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

Upgrade to Docker CE #38

Open
seboudry opened this issue May 2, 2018 · 0 comments
Open

Upgrade to Docker CE #38

seboudry opened this issue May 2, 2018 · 0 comments

Comments

@seboudry
Copy link

seboudry commented May 2, 2018

Using latest image fabric8/maven-builder: vd8fbad4 on Kubernetes cluster v1.7.15.

Installed version of Docker is too old and can't speak to recent Docker hosts.
For example, I can't managed to pull an image from GCR with credentials generated with Jenkins Docker pipeline.

$ docker run --rm -it -v ~/.docker-gcr/:/root/.docker/ -v /var/run/docker.sock:/var/run/docker.sock fabric8/maven-builder:vd8fbad4 docker pull eu.gcr.io/my-project/my-image
Error response from daemon: unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication

But it works with Docker CE installed on CentOS base image :

docker run --rm -it -v ~/.docker-gcr/:/root/.docker/ -v /var/run/docker.sock:/var/run/docker.sock seboudry/maven-builder:docker-ce docker pull eu.gcr.io/my-project/my-image
[...]
Status: Image is up to date for eu.gcr.io/my-project/my-image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant