You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a proxy environment, running docker compose up --build using the Docker snap package fails because the build containers cannot properly utilize the proxy settings. This is caused by outdated CLI plugins included in the snap package:
docker-compose: v2.20.3
docker-buildx: v0.16.1
Updating to more recent versions (docker-compose v2.21.0 and docker-buildx v0.17.1) resolves the issue.
Steps to Reproduce:
Set up proxy and groups:
sudo addgroup --system docker
sudo adduser $USER docker
newgrp docker
sudo snap set system proxy.https=http://proxy.example.com:8080
Install the Docker snap package and configure proxy environment variables for dockerd.
This updated version is currently available on the latest/beta channel. You can install and test it by running the following command:
sudo snap refresh docker --beta
Could you please try this new version and let us know if it resolves the issue? Your feedback will help us ensure everything behaves as expected.
We are also conducting further testing to verify there are no regressions and to guarantee the best quality. Once the testing is complete, this version will be promoted to the latest/stable channel.
Thank you so much for your time and assistance! We truly appreciate your support.
Problem Description:
In a proxy environment, running
docker compose up --build
using the Docker snap package fails because the build containers cannot properly utilize the proxy settings. This is caused by outdated CLI plugins included in the snap package:docker-compose
: v2.20.3docker-buildx
: v0.16.1Updating to more recent versions (
docker-compose v2.21.0
anddocker-buildx v0.17.1
) resolves the issue.Steps to Reproduce:
dockerd
.Dockerfile
anddocker-compose.yaml
:Observed Behavior:
The build fails with errors indicating that the proxy settings are not respected during the build process.
Workaround:
Manually update the CLI plugins to the latest versions:
After updating, the build succeeds as expected.
Proposed Solution:
Update the
docker-compose
anddocker-buildx
plugins in the snap package to the following versions or higher:docker-compose
: v2.21.0 (v2.29.7 recommended)docker-buildx
: v0.17.1References:
The text was updated successfully, but these errors were encountered: