Hello,
I would like to install iVentoy on my synology ds923+ nas with docker. When I click on “deploy the stack”, I get the following error: Deployment error
failed to deploy a stack: validating /data/compose/193/docker-compose.yml: services.networks Additional property macvlan is not allowed
I doubt the ip_range parameter is correct like this, as it needs to be in CIDR notation. The format must look like the subnet, which is written in CIDR notation. It must be outside the ip-range your network’s dhcp server manages.
I get this result by modifying
failed to deploy a stack: Network macvlan Creating Network macvlan Created Container iventoy Creating Container iventoy Created Container iventoy Starting Error response from daemon: failed to create the macvlan port: device or resource busy
I’ve replaced 192.168.1.0 with 192.168.144.2 but it doesn’t change anything. Note that my DHCP goes from 192.168.1.100/24 to 192.168.144.254/24
On Syno? Its either firewall on and no macvlan, or firewall off and macvlan. That’s why people start to use it, realize the problem, and then stop using it.
Note: networks are immutable in compose, you can not just update it and expect it be reflected in the network configuration. Usually we must delete the network, and let compose recreate it. I don’t know if the same rule applies to the Syno Container Manager, as “their docker” has some additional features that don’t exist in the vanila docker world, and miss/break features that do exist in the vanila docker world.
Your ipv4_adress ip 192.168.1.17 is NOT within the ip_range 192.168.1.60/28 (=192.168.1.48 - 192.168.1.63).