Skip to content

jamesnetherton/docker-atom-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-atom-editor

Overview

Install and run the Atom editor from within a Docker container.

Building the image

Clone this repository, change into the source directory and run:

docker build . -t jamesnetherton/docker-atom-editor

Running Atom

docker run -d -v /tmp/.X11-unix/:/tmp/.X11-unix/ \
              -v /dev/shm:/dev/shm \
              -v ${HOME}/.atom:/home/atom/.atom \
              -e DISPLAY \
              jamesnetherton/docker-atom-editor

Note that -v /dev/shm:/dev/shm may be optional and can be replaced by --shm-size="<number><unit>".