are you using remote docker at all?
I don't know: what is remote docker? I do build docker images on circleci
building docker images requires a VM under the hood, there’s 2 ways to do this: via machine
executor, or via the setup_remote_docker
step in the docker
executor. The latter spins up a remote VM and connects you to the docker socket
the setup_remote_docker
step has an optional version number - and defaults to a very old version
@glenjamin Hmm yes, I have this in my clj-kondo config:
docker:
docker:
- image: circleci/buildpack-deps:stretch
steps:
- checkout
- setup_remote_docker
- run:
name: Build Docker image
command: .circleci/script/docker
I set this up about 1.5 year ago. What's the best way to do this now? I don't have a preference
- setup_remote_docker
version: 19.03.12
why not just bump the defaults yourself at circleci?
because that’s not backwards compatible 😞
we might still do it later, and we might do it only for new projects
but mainly we want people to select a version they’re happy with
some people prefer a fixed version, some prefer “gimme latest”, and we don’t know who is who
can I also fill in: version: latest, so it'll always use the latest and I never have to think about it again? :)
you currently cannot, but i just mentioned that to the machine images team
in general that’s problematic, because when we change it some percentage of builds break and we get a bunch of support tickets
thanks so much, I'll just change it to the version you mentioned
oh, 19.03.13
is out now too if you want to use the latest-latest
I'll do that in a year or two when I get another email :)
just bumped them
good to know :thinking_face: I received this email as well
the team which sent it is iterating on the copy in the discuss post, but annoyingly emails are static 😄
link?
https://discuss.circleci.com/t/old-linux-machine-image-remote-docker-deprecation/37572
Idea for future emails: include link to pre-created discuss thread :)
Thanks for sharing
I've got this in my config:
docker:
docker:
- image: circleci/buildpack-deps:stretch
steps:
- checkout
- setup_remote_docker:
version: 19.03.12
- run:
name: Build Docker image
command: .circleci/script/docker
Yet I see
Build-agent version 1.0.40344-226c2ebb (2020-10-01T12:44:53+0000)
Docker Engine Version: 18.09.6
in the build: https://app.circleci.com/pipelines/github/borkdude/clj-kondo/2941/workflows/f58c8d15-78d2-4417-873e-f38e89fcc418/jobs/11132oh I see, the third step has a remote docker
never mind then