Page MenuHomeDevCentral

Jenkins 7.2 agent container zenerre doesn't start
Open, LowPublic

Description

After a restart of Docker-002 and every container,
The container of the 7.2 Jenkins agent is not starting anymore with this error :

> sudo docker start 5d5f8b1f4dbb                                                                                       
Error response from daemon: Address already in use
Error: failed to start containers: 5d5f8b1f4dbb

Event Timeline

DorianWinty created this task.

Apparently some Jenkins agents have static ip. But that ip can be taken by dynamic assignment of previously launched containers.

So I'd suggest to assign static IP adresses to all containers in a specific network, or none at all and rely to hostnames to configure agents.

dereckson renamed this task from Jenkins 7.2 agent container don't start to Jenkins 7.2 agent container zenerre doesn't start.Oct 12 2023, 23:37

From Jenkins, hostnames are used, not static IPs, both on CD and CI.