Skip to content

Commit

Permalink
[docker] downgrade docker-ce to 24.0.9 (#1346)
Browse files Browse the repository at this point in the history
This avoids limitations with extended attributes for tar files: https://docs.docker.com/engine/release-notes/25.0/#known-limitations

The problem manifests depending on extended attributes usage with some images. For example, from within Gitpod, run:

```
docker run curlimages/curl:8.1.2 -v -k https://example.com
docker: failed to register layer: lsetxattr user.overlay.origin /bin: operation not supported.
See 'docker run --help'.
```
  • Loading branch information
kylos101 committed May 8, 2024
1 parent b757bf5 commit 4a1945e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chunks/tool-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null \
&& apt update \
&& install-packages docker-ce=5:26.0.1-1~ubuntu.22.04~jammy docker-ce-cli=5:26.0.1-1~ubuntu.22.04~jammy containerd.io docker-buildx-plugin
&& install-packages docker-ce=5:24.0.9-1~ubuntu.22.04~jammy docker-ce-cli=5:24.0.9-1~ubuntu.22.04~jammy containerd.io docker-buildx-plugin

RUN curl -o /usr/local/bin/docker-compose -fsSL https://github.com/docker/compose/releases/download/v2.24.1/docker-compose-linux-$(uname -m) \
&& chmod +x /usr/local/bin/docker-compose && mkdir -p /usr/local/lib/docker/cli-plugins && \
Expand Down

0 comments on commit 4a1945e

Please sign in to comment.