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