protonmail-bridge-docker icon indicating copy to clipboard operation
protonmail-bridge-docker copied to clipboard

The container name "/protonmail-bridge" is already in use by container

Open TheBurgundyBear opened this issue 2 years ago • 1 comments

After executing

docker run -d --name=protonmail-bridge -v protonmail:/root -p 127.0.0.1:1025:25/tcp -p 127.0.0.1:1143:143/tcp --restart=unless-stopped shenxn/protonmail-bridge

I get the following error:

Error response from daemon: Conflict. The container name "/protonmail-bridge" is already in use by container "812***". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.

I'm trying to run this on UNRAID.

TheBurgundyBear avatar Feb 11 '23 16:02 TheBurgundyBear

As the error message suggests you already have a container named "/protonmail-bridge". You have to delete the container first if you want to re-create it.

To delete the container you can run the following command: docker rm container_id_or_name.

JexSrs avatar Feb 24 '23 19:02 JexSrs