Docker image for the aerc email client.
The Dockerfile
was not written with minimal container size in mind.
On the other hand, it should be able to build and run most versions of aerc
.
Please read aerc
's license terms before using this Dockerfile.
In order to build the image, you have to clone the repository.
git clone https://github.com/sfischer13/docker-aerc
cd docker-aerc
Then, build the Docker image using one of the tags from aerc
's source code repository.
make build VERSION=master
Before you can use aerc
, you have to build the image as described above.
Configuration files must be made accessible by using Docker bind mounts.
This will start the container and use the host's configuration files (~/.config/aerc
).
make run VERSION=master
For details, see scripts/run.sh
.
If you use pass
for retrieval of your passwords, you should also mount your password directory (~/.password-store
) and your GnuPG configuration (~/.gnupg
) into the container.
make run_pass VERSION=master
For details, see scripts/run_pass.sh
.
If you use notmuch
for searching your mails, you should also mount your index directory, which contains .notmuch/
, into the container.
For an overview of the container files, run the following command:
docker run --rm -i sfischer13/aerc:master --help
Open a shell within the container:
docker run --rm -i -t sfischer13/aerc:master bash
Read the manual:
docker run --rm -i -t sfischer13/aerc:master man aerc