dockwatch icon indicating copy to clipboard operation
dockwatch copied to clipboard

Bug - Container cannot be connected to multiple network endpoints on start

Open nzxl101 opened this issue 9 months ago • 1 comments

From: https://github.com/Notifiarr/dockwatch/issues/60#issuecomment-2764764429

Docker doesn't allow connecting a container to multiple networks at startup. You must first start it with one network, then use docker network connect to attach it to others.

nzxl101 avatar Mar 30 '25 22:03 nzxl101

2272 | 2025-07-13 5:00:46 [INFO] crons/pulls.php LN: 242 :: Updating pull data: sonarr
2273 | 2025-07-13 5:00:46 [INFO] crons/pulls.php LN: 253 :: Starting container: sonarr
2274 | 2025-07-13 5:00:46 [INFO] crons/pulls.php LN: 256 :: dockerStartContainer:Error response from daemon: joining network namespace of container: No such container: d8031bbb8ce885f4a46615edd9ef96e26c8f43541d595010a6f4e9dba041ecc2
2275 | Error: failed to start containers: sonarr

nzxl101 avatar Jul 14 '25 01:07 nzxl101