8000
Colima does not auto-replace gateway address for proxy variables in docker daemon.json #1144
Closed
1 of 5 tasks
Description
When running behind a corporate proxy that runs on
127.0.0.1:9000
, colima automatically translates the proxy env vars to192.168.5.2:9000
, but does not translate the proxy urls for/etc/docker/daemon.json
Version
colima version 0.7.5
git commit: 1588c06
runtime: docker
arch: aarch64
client: v27.3.1
server: v27.1.1
limactl version 0.23.2
qemu-img version 9.1.0
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
Operating System
Output of
colima status
Reproduction Steps
http://127.0.0.1:9000
colima start --vm-type=vz --vz-rosetta=true
colima ssh -- env | grep -i
will reveal env vars have the translated proxy url (http://192.165.5.2:9000
)colima ssh -- cat /etc/docker/daemon.json
to read daemon.json fileExpected behaviour
Expected
/etc/docker/daemon.json
Actual
/etc/docker/daemon.json
Additional context
The code that should do this resides here:
colima/environment/container/docker/daemon.go
Lines 34 to 46 in a58166e
#1040 is an effective workaround, but it would be much more convenient and user friendly to set this automatically
The text was updated successfully, but these errors were encountered: