I’m investigating using Incus and incus-compose to replace my current Proxmox setup.
With Proxmox, each LXC has a “real” LAN ip via the Proxmox bridge interface.
I can get this to work in Incus for a standalone instance - but can’t seem to get this working inside a compose file?
I’ve tried a number of settings in the networks: section of the compose.yaml file:
name: br0
x-incus: br0
x-incus-compose: br0
Nothing seems to work?
Thanks for any tips…
jochumdev
(René Jochum)
2
Hey and welcome!
You might use:
networks:
default:
name: br0
external: true
If br0 is unmanaged, pretty sure that won’t work with incus-compose 1.3.x but will work with 1.4.x.
Kind regards,
René
jochumdev
(René Jochum)
3
Unmanaged bridge support is in v1.3.5 (just released).
Thanks!
I spent some time yesterday to get the project built from source - and the your update came out!
Why are the containers names post-fixed with -1? Is that controllable?
jochumdev
(René Jochum)
5
With container_name you can control the name, the suffix is for scaling.