Docker image of an IPOL demo server (http://www.ipol.im/)
Contains an IPOL server for development and testing of demos.
The IPOL server is packaged as Docker image so it can easily be executed with the Docker run command. This means that you don't need to download this repository, just install Docker for windows, mac, or linux and then run the following command. It will download the Docker image and start the IPOL server right away, compiling and running the demo stored in a local path <path_to_app_dir>
docker run -p 8080:8080 -v <path_to_app_dir>:/ipol/app/mydemo -t -i facciolo/ipol
The server will be visible at http://127.0.0.1:8080 and the server output will be shown in the console. To stop the server just press Ctrl-C in the console.
To access the shell of the virtual machine run
docker run -p 8080:8080 -v <path_to_app_dir>:/ipol/app/mydemo -t -i facciolo/ipol /bin/bash
and then launch the demo manually with
python /ipol/demo.py build run
Keep in mind that changes to the files of the virtual machine (except for the directory mounted at /ipol/app/mydemo) are lost after closing the session.
docker build -t facciolo/ipol .
docker images -a
docker ps -a
First remove any exited docker container and untagged images
# exited containers
docker ps -a -f status=exited -q | xargs docker rm -v
# remove untagged images
docker rmi $(docker images | grep none | awk '{ print $3}')
then remove the image
docker rmi facciolo/ipol
More information about container/image cleanup to reduce disk usage