-
Notifications
You must be signed in to change notification settings - Fork 234
Docker_CN
kuxia edited this page Jan 9, 2021
·
4 revisions
主要为了方便身在中国内地且想快速简单地体验 EAF 的小伙伴,以下使用 Dockerfile.CN 来构建镜像。
使用 Dockerfile.CN 构建的镜像只作为简单尝试,如需完整体验,请于自己的平台(更推荐 Archlinux)下,使用 install-eaf.sh 来安装依赖。
cd emacs-application-framework/docker
docker build -t eaf -f Dockerfile.CN .
xhost +
docker run --rm -it --network host -e DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix -v ~/.Xauthority:/home/eaf/.Xauthority eaf
# Or you can mount the Emacs configuration into the container
docker run --rm -it --network host -e DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix -v ~/.Xauthority:/home/eaf/.Xauthority -v ~/.emacs.d:/home/eaf/.emacs.d eaf