colima icon indicating copy to clipboard operation
colima copied to clipboard

docker run with --mac-address option fails

Open dklghub opened this issue 1 year ago • 0 comments

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

  • [X] macOS Intel <= 13 (Ventura)
  • [ ] macOS Intel >= 14 (Sonoma)
  • [ ] Apple Silicon <= 13 (Ventura)
  • [ ] Apple Silicon >= 14 (Sonoma)
  • [ ] Linux

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

Expected behaviour

No response

Additional context

No response

dklghub avatar Feb 08 '24 13:02 dklghub