From 5f71e7815c0010e4d88246f266d2493a806c966b Mon Sep 17 00:00:00 2001 From: Jason Lynch Date: Thu, 8 Jan 2026 15:13:19 -0500 Subject: [PATCH] ci: upgrade docker in circleci The latest versions of Docker have a bug fix that affects our E2Es: https://github.com/moby/swarmkit/commit/8d571f3c4fd621c32e19b54bcc8914cd42d511b9 Before this fix, the Docker daemon would panic and crash when it hit this condition, which happened pretty regularly for us. --- .circleci/config.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 19d9d06c..8eaca4a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,6 +41,21 @@ commands: version: '1.24.3' - checkout - use_mod_cache + - run: + # Docker < 29 has a Docker Swarm bug that affects our E2Es. We can + # remove this once Circle releases an updated Ubuntu image with the + # latest Docker version. + name: Upgrade Docker + command: | + sudo systemctl stop docker + sudo apt update + sudo apt install -y \ + docker-ce \ + docker-ce-cli \ + containerd.io \ + docker-buildx-plugin \ + docker-compose-plugin + sudo systemctl start docker jobs: test: executor: common