Skip to content

Conversation

@patrickpaul-tereina
Copy link

Update dependencies, especially docker to work with api > 1.41 due to latest Docker Desktop resulting in this error:

Error response from daemon: client version 1.41 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version

Update Dockerfile base image
Update go files to use types replacement
Update go version
Some variable collision warnings fixed

Output after building binary and image, saving image locally and then pointing SETUP_IMAGE at this local image:
docker-mac-net-connect version 'v0.1.4-5-g174902a'
DEBUG: (utun4) 2026/01/01 03:20:48 Device started
DEBUG: (utun4) 2026/01/01 03:20:48 Routine: event worker - started
DEBUG: (utun4) 2026/01/01 03:20:48 UAPI listener started
DEBUG: (utun4) 2026/01/01 03:20:48 Routine: TUN reader - started
DEBUG: (utun4) 2026/01/01 03:20:48 Interface up requested
DEBUG: (utun4) 2026/01/01 03:20:48 UDP bind has been updated
DEBUG: (utun4) 2026/01/01 03:20:48 Interface state was Down, requested Up, now Up
DEBUG: (utun4) 2026/01/01 03:20:48 Interface utun4 created
DEBUG: (utun4) 2026/01/01 03:20:48 Wireguard server listening
DEBUG: (utun4) 2026/01/01 03:20:48 Setting up Wireguard on Docker Desktop VM
Creating WireGuard interface chip0
Assigning IP to WireGuard interface
Configuring WireGuard device
Adding iptables NAT rule for host WireGuard IP
Setup container complete
Adding route for 172.17.0.0/16 -> utun4 (bridge)
DEBUG: (utun4) 2026/01/01 03:20:48 Watching Docker events

… latest Docker Desktop resulting in this error:

Error response from daemon: client version 1.41 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version

Update Dockerfile base image
Update go files to use types replacement
Update go version
Some variable collision warnings fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant