'm1' is the name we assign to the new container instance, while 'molecfit_docker' is the name of the image created in the import step above. # -v means: mount directory of host system on directory of container: the first element is the directory in the host machine, the second in the container (does not need to exist). Finally, in the same terminal, run the docker command in the following way:ĭocker run -it -name m1 -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /Users/username/:/home/username/ molecfit_docker xterm.Open an XQuartz terminal and + 127.0.0.1.