Closed MichaelRoeder closed 7 years ago
The Problem is hard to reproduce without docker swarm.
Using a local docker instance, the error printed out is
platform-controller_1 | 2017-03-15 12:40:48,046 ERROR [org.hobbit.controller.docker.ContainerManagerImpl] - <
Exception while pulling the image "git.project-hobbit.eu:4567/gitadmin/platform-benchmark:latest".
com.spotify.docker.client.exceptions.DockerRequestException: Request error:
POST unix://localhost:80/images/create?fromImage=git.project-hobbit.eu:4567/gitadmin/platformbenchmark&tag=latest: 500>
fixed in v1.0.1
The Platform can not pull benchmark or system images that are protected or private in Gitlab.
The Docker client used in the platform needs credentials to pull non-public images. It is not sufficient to give these credentials to the Docker daemon that is used by the client.
Solution: provide credentials via environmental variables that are used by the Docker client.