Unable to use custom host ips with `--network-host-addresses`
Author: nehalistCreated Sep 8, 2026Updated Sep 8, 2026
Description
Following my issue from here: https://stackoverflow.com/questions/78814815/custom-docker-container-ip-on-macos-with-colima
My docker-compose file:
services:
nginx:
ports:
- 127.42.90.84:8081:80
volumes:
- ./:/srv/app:rw,cachedWhen trying to access 127.42.90.84 I do get Response too long. Started colima with
colima start --cpus 4 --memory 16 --disk 100 --network-host-addressesVersion
colima version 0.10.3
git commit: 00f6c297e92a82c04a4ab507db0a61435650d7e8
runtime: docker
arch: aarch64
client: v29.7.2
server: v29.5.2
limactl version 2.2.0
qemu-img version 9.2.2
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developersOperating System
- 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 macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
Reproduction Steps
- Start colima
2.Start containers with
docker-compose up -d - Unable to access nginx
Expected behaviour
I should be able to access nginx
Additional context
No response
Source: abiosoft/colima