A Emacs docker running in X11 & can edit a host files
1.1K
This emacs container, can edit a files from a host directory. This emacs version contains :
- git manager (magit)
- auto-complete
- yasnippet
- Python dev environement
- flymake
- rope
- pep8
- nxhtml
- color-theme & solarized
- grapviz-dot-mode
- pkgbuild-mode (for archlinux)
- smex (most frequently history commande, IDO extenssion)
- projectile (files project interaction)
Note: you can edit .emacs.el for adding or removing a plugins
When Emacs is launched for the first time, it install the plugins, this may take time.
XSOCK=/tmp/.X11-unix/X0
docker run -ti --rm -v $XSOCK:$XSOCK -v /docker_shared/debian-emacs/root/.emacs.d:/root/.emacs.d badele/debian-emacs
docker run -ti --rm -v $XSOCK:$XSOCK -v /docker_shared/debian-emacs/root/.emacs.d:/root/.emacs.d -v `pwd`:/files badele/debian-emacs emacs /files
export XSOCK=/tmp/.X11-unix/X0
ed(){
docker run -ti --rm -v $XSOCK:$XSOCK -v /docker_shared/debian-emacs/root/.emacs.d:/root/.emacs.d -v `pwd`:/files badele/debian-emacs emacs /files
}
You can now edit a host files from a emacs container
cd directory file location
ed
Inspired by :
Content type
Image
Digest
sha256:e6aad2973…
Size
216.6 MB
Last updated
over 11 years ago
docker pull badele/debian-emacs