Divergent docker images on Circle

docker

#1

I’m getting Segmentation fault (core dumped) when running docker run using the msaraiva/elixir-dev docker image. SSHing on the build I found that the sha256 doesn’t match what I have locally and the image is corrupted. Do someone have a clue about what is going on and how to fix it?

On circle:

$ docker pull msaraiva/elixir-dev:1.3.1
1.3.1: Pulling from msaraiva/elixir-dev
Digest: sha256:1e2a6617cfe6525bddb454158c1a74083c29065d67d7a1d91ece9de3126ad712
Status: Image is up to date for msaraiva/elixir-dev:1.3.1

$ docker pull msaraiva/elixir-dev:latest
latest: Pulling from msaraiva/elixir-dev
218aab9eda1b: Pull complete
868c5866de96: Pull complete
a82696247140: Pull complete
b474fab8b8f6: Pull complete
Digest: sha256:af533e06d6e4702c1357fceb8c3fd4cd7820e409efd7e2e23b93ed7b3f406b23
Status: Downloaded newer image for msaraiva/elixir-dev:latest

Locally:

$ docker pull msaraiva/elixir-dev:1.3.1
1.3.1: Pulling from msaraiva/elixir-dev
Digest: sha256:a9bb3d692463297d6cf34137068756197ec6e7a1b5112604e0258e0cec443488
Status: Image is up to date for msaraiva/elixir-dev:1.3.1

$ docker pull msaraiva/elixir-dev:latest
latest: Pulling from msaraiva/elixir-dev
e110a4a17941: Already exists
98e0b6763abd: Already exists
a9fa009e2db9: Already exists
60b3ce6c9bb8: Pull complete
401d3e6abe58: Pull complete
Digest: sha256:5e7e18737a37f96e2f14d6234056bb67a4c245ace516598e0ada9d4996edb146
Status: Downloaded newer image for msaraiva/elixir-dev:latest

Cheers,
Marcelo


#2

Same here, have you found a fix for this?


#3

Upgrading to docker 1.10.0 solved it. To do so you have to add the following lines to your circle.yml

machine:
  pre:
    - curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0

HTH,
Marcelo


#4

Awesome thank you!


#5