A docker image containing HOL4 and Emacs.
331
A docker image containing HOL4 and Emacs.
This project belongs to the Docker Hub repository https://hub.docker.com/r/andreaslindner/hol4docker/.
Just pull this repository and from there execute. Don't use sudo or something similar, but just your normal user:
make pull - downloads the prepared docker imagemake - creates/configures the docker container and then runs emacs/home/{user}/share and you can exchange files using this shared location.You can control the container and connect to it using the following make build targets. By default the home folder is mapped in the container as /home/{user}/share and files can be accessed there. In some networked configurations that might not work because of the security context in which docker runs its containers. Then please refer to the last section.
make stop and make start to stop and run the container respectively.make bash, make ssh, make emacs and make emacs-nw to connect to the container. (For the targets ssh and emacs together with XServer, see the section below.)make pull or make build to pull a prebuilt image or compile an image respectively.make configure to create a container and initialize it for the currently logged on user. (See the first lines of Makefile for conifguration options.)>M-x< package-install >RET< sml-mode >RET< to install the sml-mode for emacs.make clean to clean a configuration and remove the container in case it exists.)sharetarget in Makefile, set it to the folder you want to be mapped in the containers /home/{user}/share.withxserver in Makefile, set it to 1 or 0 whether you plan to use emacs directly or over ssh.usesudo in Makefile, set it to 1 or 0 whether your user cannot run docker commands directly.usesudo in Makefile to 1Ubuntu 16 works directlyArch Linux requires further tweaking, in Makefile set a fixed admin password and disable withxserver (just use ssh X redirection)Content type
Image
Digest
Size
420 MB
Last updated
over 9 years ago
docker pull andreaslindner/hol4docker