Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Fail to update watchtower when http api is running #952

@yrien30

Description

@yrien30

Describe the bug

Watchtower does not seem to be able to create a new instance of watchtower because http api port is allready used by current watchtower instance.

time="2021-05-04T06:41:49Z" level=debug msg="Renaming container /watchtower (7466244452a6) to bVxoHrZQQfmJwmVPzqUzmrEWtaigXveU"                                                                                                                              │
│   time="2021-05-04T06:41:49Z" level=info msg="Creating /watchtower"                                                                                                                                                                                            │
│   time="2021-05-04T06:41:51Z" level=debug msg="Starting container /watchtower (f2211634e4c3)"                                                                                                                                                                  │
│   time="2021-05-04T06:41:52Z" level=error msg="Error response from daemon: driver failed programming external connectivity on endpoint watchtower (0c44b36fce32cb7f8b15a6ae631577478607525311c1dcd03adebe017933944e): Bind for 0.0.0.0:8080 failed: port is    │
│   already allocated" 

image

To Reproduce
Enable http api:
-p 8080:8080 -e WATCHTOWER_HTTP_API_UPDATE=true -e WATCHTOWER_HTTP_API_TOKEN=Token

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions