shenxn / protonmail-bridge-docker

ProtonMail IMAP/SMTP Bridge Docker container
GNU General Public License v3.0
382 stars 77 forks source link

Docker compose init #91

Open MozkaGit opened 11 months ago

MozkaGit commented 11 months ago

Hello, when I use docker-compose I can't get past the init phase. When I run it I can't enter the login or any others cli commands because I don't have any prompt.

Inside the container shell I can't run ./entrypoint.sh login either, because I get this error: Failed to create lock file; another instance is running.

image

This is my compose config :

version : "3.8"
services:
  proton:
    image: shenxn/protonmail-bridge
    container_name: protonmail-bridge
    volumes:
      - ./protonmail:/root
    ports:
      - 1025:25/tcp
      - 1143:143/tcp
    stdin_open: true
    tty: true
    command: init
    restart: unless-stopped

I dont have this issue when I simply use docker run cli command.

Please any help would be appreciated.

therealstein commented 10 months ago

No issue here. Definitely a docker usage problem. Learn to stop and remove containers correctly