Going to stop updating this repo. Please check out shenxn/protonmail-bridge-docker
This repo is heavily based on the shenxn/protonmail-bridge-docker repo with some patches to allow K-9 Mail support. For now it only supports the amd64
architecture.
Currently no patches are needed for K-9 with v3.0.x
which implments proton's own IMAP system. Additionally, K-9 has joined Thunderbird, which one of the main roadmap goals is to improve IMAP.
There are two tags worth mentioning.
latest
: Image based on the latest stable release of proton-bridge. Currentlyv3.0.21
.beta
: Image based on the latest beta pre-release of proton-bridge. Currentlyv3.1.2
.
To initialize and add account to the bridge, run the following command.
docker run --rm -it -v /path/to/protonmail:/root ghcr.io/tchilderhose/protonmail-bridge-docker init
Wait for the bridge to startup, use login
command and follow the instructions to add your account into the bridge. Then use info
to see the configuration information (username and password). After that, use exit
to exit the bridge. You may need CTRL+C
to exit the docker entirely.
To run the container, use the following command.
docker run -d --name=protonmail-bridge -v /path/to/protonmail:/root -p 1025:25/tcp -p 1143:143/tcp --restart=unless-stopped ghcr.io/tchilderhose/protonmail-bridge-docker
or Docker-compose
protonmail:
image: ghcr.io/tchilderhose/protonmail-bridge-docker
container_name: protonmail
restart: unless-stopped
ports:
- "1025:25/tcp"
- "1143:143/tcp"
volumes:
- /path/to/protonmail:/root