Run Emacs in a docker!
This project provides different docker images:
- The main images (~450MB) only contain the runtime dependencies for Emacs to run.
- The
-dev
variants (~1200MB) contain additional developer tools such as Cask, git or Python. The Emacs source is also available at/opt/emacs
if you need to build Emacs differently. - The
-alpine
variants (~200MB) follow the same logic as the main images but are based on Alpine Linux.
master
(master/ubuntu/16.04/Dockerfile)master-dev
(master/ubuntu/16.04/Dockerfile)master-alpine
(master/alpine/Dockerfile)master-alpine-dev
(master/alpine/Dockerfile)26.1
,26
,latest
(26.1/ubuntu/16.04/Dockerfile)26.1-dev
,26-dev
,dev
(26.1/ubuntu/16.04/Dockerfile)26.1-alpine
,26-alpine
,alpine
(26.1/alpine/Dockerfile)26.1-alpine-dev
,26-alpine-dev
(26.1/alpine/Dockerfile)25.3
,25
(25.3/ubuntu/16.04/Dockerfile)25.3-dev
,25-dev
(25.3/ubuntu/16.04/Dockerfile)25.3-alpine
,25-alpine
(25.3/alpine/Dockerfile)25.3-alpine-dev
,25-alpine-dev
,alpine-dev
(25.3/alpine/Dockerfile)25.2
(25.2/ubuntu/16.04/Dockerfile)25.2-dev
(25.2/ubuntu/16.04/Dockerfile)25.2-alpine
(25.2/alpine/Dockerfile)25.2-alpine-dev
(25.2/alpine/Dockerfile)25.1
(25.1/ubuntu/16.04/Dockerfile)25.1-dev
(25.1/ubuntu/16.04/Dockerfile)24.5
,24
(24.5/ubuntu/16.04/Dockerfile)24.5-dev
,24-dev
(24.5/ubuntu/16.04/Dockerfile)24.4
(24.4/ubuntu/12.04/autogen/Dockerfile)24.4-dev
(24.4/ubuntu/12.04/autogen/Dockerfile)24.3
(24.3/ubuntu/12.04/autogen/Dockerfile)24.3-dev
(24.3/ubuntu/12.04/autogen/Dockerfile)23.4
,23
(23.4/ubuntu/12.04/bootstrap/Dockerfile)23.4-dev
,23-dev
(23.4/ubuntu/12.04/bootstrap/Dockerfile)
docker run -it --rm silex/emacs
xhost +local # WARN: this comes with security issues
docker run -it --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix silex/emacs
Yes please! You should mostly do your modifications to images.yml
or inside the /templates
directory,
then run bin/images generate
to apply the changes.