For lack of a better term.
- Update Andrea’s image.
docker pull andreacorallo/emacs-nativecomp:latest
- Tangle my Dockerfile.
FROM andreacorallo/emacs-nativecomp:latest RUN adduser --quiet --uid 1000 --disabled-password me RUN apt-get update RUN apt-get install -y git install-info texinfo ENV DISPLAY=:0 USER me:me
- Rebuild my image.
docker build -t ap/emacs-native-comp .
- Notes
- Run
xhost +
to enable GUI sessions.- That disables all X session security, AFAIK. Is there a better way?
- Run
- Command
docker run -v /home/me:/home/me -v /tmp/.X11-unix/:/tmp/.X11-unix --env=DISPLAY=:0 --dns=8.8.8.8 -u me -i -t ap/emacs-native-comp:latest
- Script
docker run --rm=true -v /home/me:/home/me -v /tmp/.X11-unix/:/tmp/.X11-unix --env=DISPLAY=:0 --dns=8.8.8.8 -u me -i -t ap/emacs-native-comp:latest bash -c 'cd ~; ~/.bin/emacs-sandbox -d ~/tmp/src/emacs/native-comp/.emacs.d'
@pataquets: I don't necessarily want to pull every time I rebuild my local derivative image.
Anyway, today I wanted to build a custom version of Andrea's image, but I can't even get
docker build
to work anymore. All I get isFATA[0001] Could not reach any registry endpoint
, and nothing I've tried fixes it, and Web searching for that message returns nothing useful. I can't get any additional debug information out of Docker, either, so I'm just stuck. Weirdly, I can still pull Andrea's image, and e.g.docker pull debian:latest
, but trying to build Andrea's Dockerfile fails atPulling repository debian
, even with--pull=false
. So...Docker...