Skip to content

Upgrade to Docker CE #38

Description

@seboudry

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions