Vanilla-emacs clone this repo git@github.com:bachirelkhadir/vanilla-emacs.git build it make build run emacs (and bound local "emacs.d" to "/root/.emacs.d") to be able to modify config file from inside and outside docker. emacs-with-local-config