This is a Dockerfile to dockerize a thunderbird session
Build the image locally
$ docker build -t thunderbird .
Create the settings folder
$ mkdir -p $HOME/.config/thunderbird-docker/
Start the container
$ docker run \
-d \
--rm \
--name thunderbird \
-e DISPLAY \
-v /tmp/.X11-unix/:/tmp/.X11-unix/ \
-v $HOME/.config/thunderbird-docker/:/home/ubuntu/.thunderbird/ \
-v $HOME/Downloads/:/home/ubuntu/Downloads/ \
--device /dev/snd \
thunderbird