abiosoft / colima

Container runtimes on macOS (and Linux) with minimal setup
MIT License
17.75k stars 365 forks source link

docker run with --mac-address option fails #981

Open dklghub opened 5 months ago

dklghub commented 5 months ago

Description

trying to run a container with --mac-address option generates error message: specify mac-address per network" requires API version 1.44, but the Docker daemon API version is 1.43.

from the docker API 1.44 spec:

MacAddress  
string or null  
MAC address of the container.  

Deprecated: this field is deprecated in API v1.44 and up. Use EndpointSettings.MacAddress instead.

Version

colima version HEAD-9b0809d git commit: 9b0809d0ed9ad3ff1e57c405f27324e6298ca04f

runtime: docker arch: x86_64 client: v25.0.2 server: v24.0.9 limactl version 0.20.1 qemu-img version 8.2.1 Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers****

Operating System

Output of colima status

INFO[0000] colima is running using QEMU
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/dklghub/.colima/default/docker.sock

Reproduction Steps

1. 2. 3.

Expected behaviour

No response

Additional context

No response