You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 17, 2025. It is now read-only.
Watchguard has been keeping my containers up to date for years. Today I installed an update to Docker, and when Watchtower attempted to update two of my containers on the host network, it failed with the following error:
invalid config for network host: invalid endpoint settings: network-scoped alias is supported only for containers in user defined networks
These were both created via docker-compose with network_mode set to host
Steps to reproduce
Make Watchtower attempt to update a container on the host network.
Expected behavior
New container is created successfully.
Screenshots
No response
Environment
Platform: Ubuntu
Architecture: 64 bit
Docker version 25.0.0, build e758fe5
Your logs
ERRO[12591] Error response from daemon: invalid config for network host: invalid endpoint settings:
network-scoped alias is supported only for containers in user defined networks
INFO[12591] Creating /sonarr
INFO[12595] Creating /home-assistant
ERRO[12595] Error response from daemon: invalid config for network host: invalid endpoint settings:
network-scoped alias is supported only for containers in user defined networks
Here is the log from one week ago when it worked just fine:
2024-01-13T10:02:31.051969197Z INFO[3032453] Creating /home-assistant
2024-01-13T10:02:34.702164592Z INFO[3032457] Creating /sonarr
Describe the bug
Watchguard has been keeping my containers up to date for years. Today I installed an update to Docker, and when Watchtower attempted to update two of my containers on the host network, it failed with the following error:
invalid config for network host: invalid endpoint settings: network-scoped alias is supported only for containers in user defined networks
These were both created via docker-compose with network_mode set to host
Steps to reproduce
Make Watchtower attempt to update a container on the host network.
Expected behavior
New container is created successfully.
Screenshots
No response
Environment
Your logs
Additional context
No response