Docker v19.03.8 now available in Remote Docker

Hey Folks!

For those of you using the CircleCI Remote Docker feature (setup_remote_docker), Docker v19.03.8 is now available.

Example use:

version: 2.1
workflows:
  main:
    jobs:
      - build
jobs:
  build:
    docker:
      - image: cimg/base:stable
    steps:
      - checkout
      - setup_remote_docker:
          version: 19.03.8
      - run:
          name: "Do all the things!"
          command: |
            docker build -t my-org/my-image:my-tag .
            docker push my-org/my-image

You can find all available versions in CircleCI Docs.

4 Likes

Hi, thanks for this!

Is it expected that specifying version 19.03.8 in my config.yml would actually install 19.03.9?

I’ve been trying to debug why I can’t get the --output parameter to work when using docker’s buildkit backend. Works on my laptop, but not CircleCI. Whilst looking into this, I noticed my laptop was using 19.03.8, but CircleCI had 19.03.9. This may well be a red herring for my issue (though I’m stumped by what other differences there could be), but thought I’d mention it, in case it trips anyone else up.

Cheers,
Luke

Is it expected that specifying version 19.03.8 in my config.yml would actually install 19.03.9?

Depends, without seeing your config I can only guess.

My guess, you are looking at the wrong version. If you are using the Docker executor, docker --version only returns the version of the Docker CLI you are using. Which depends on the image you are using. This post is about remote Docker, which is the engine your Docker CLI connects to through a network. Each is a different piece with its own version.

You can see the full version details of both pieces by running docker version (notice no dashes). I hope that helps.

2 Likes

Aha! That explains it, thanks.
You’re right - it does say 19.03.8 for the docker server when I run docker version
Guess it’s back to the drawing board working out what’s different about my laptop setup. Cheers!