Short Description
Run Emacs in docker containers!
Full Description
Description
Run Emacs in docker containers!
This project provides different docker images:
- The main images (~500MB) only contain the runtime dependencies for Emacs to run.
- The
-devvariants (~1400MB) contain additional developer tools such as Cask,
git and Python. The Emacs source is available at/opt/emacsif
you need to build Emacs differently. - The
-alpinevariants (~200MB) follow the same logic as the main images but are based on
Alpine Linux.
Tags
master(master/ubuntu/18.04/Dockerfile)master-dev(master/ubuntu/18.04/Dockerfile)master-alpine(master/alpine/3.7/Dockerfile)master-alpine-dev(master/alpine/3.7/Dockerfile)26.1,26,latest(26.1/ubuntu/18.04/Dockerfile)26.1-dev,26-dev,dev(26.1/ubuntu/18.04/Dockerfile)26.1-alpine,26-alpine,alpine(26.1/alpine/3.7/Dockerfile)26.1-alpine-dev,26-alpine-dev,alpine-dev(26.1/alpine/3.7/Dockerfile)25.3,25(25.3/ubuntu/18.04/Dockerfile)25.3-dev,25-dev(25.3/ubuntu/18.04/Dockerfile)25.3-alpine,25-alpine(25.3/alpine/3.7/Dockerfile)25.3-alpine-dev,25-alpine-dev(25.3/alpine/3.7/Dockerfile)25.2(25.2/ubuntu/18.04/Dockerfile)25.2-dev(25.2/ubuntu/18.04/Dockerfile)25.2-alpine(25.2/alpine/3.7/Dockerfile)25.2-alpine-dev(25.2/alpine/3.7/Dockerfile)25.1(25.1/ubuntu/18.04/Dockerfile)25.1-dev(25.1/ubuntu/18.04/Dockerfile)24.5,24(24.5/ubuntu/18.04/Dockerfile)24.5-dev,24-dev(24.5/ubuntu/18.04/Dockerfile)24.4(24.4/ubuntu/12.04/Dockerfile)24.4-dev(24.4/ubuntu/12.04/Dockerfile)24.3(24.3/ubuntu/12.04/Dockerfile)24.3-dev(24.3/ubuntu/12.04/Dockerfile)23.4,23(23.4/ubuntu/12.04/bootstrap/Dockerfile)23.4-dev,23-dev(23.4/ubuntu/12.04/bootstrap/Dockerfile)
Usage
Console
docker run -it --rm silex/emacs
GUI
xhost +local:root # WARN: this comes with security issues
docker run -it --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix silex/emacs
Alternatives
- flycheck/emacs-cask: collection of docker images containing a
minimal Emacs compiled from source with Cask. - flycheck/emacs-travis: makefile which provides targets to
install Emacs stable and emacs-snapshot, Texinfo and Cask. - jgkamat/airy-docker-emacs: alpine-based docker images that have
Emacs installed through the package manager. - JAremko/docker-emacs: collection of docker images with focus on GUI usage.
- rejeep/evm: pre-built Emacs binaries.
Contributions
They are very welcome! The basic workflow is as follow:
- Modify
images.yml. - Modify files inside the
/templatesdirectory. - Run
bin/images generateto spread the changes everywhere.