To get started, install Docker and pull the latest Fedora 31 container:
docker pull fedora:31
The build sequence is as follows.
- Base container with core libraries:
docker build --tag=monge-base:latest --tag=monge-base:stable -f ./monge-base/monge-base.Dockerfile ./monge-base
- Install dependencies for the OT libraries:
docker build --tag=monge-depen:latest --tag=monge-depen:stable -f ./monge-depen/monge-depen.Dockerfile ./monge-depen
- Build OT libraries:
docker build --tag=monge-ot-libs:latest --tag=monge-ot-libs:stable -f ./monge-ot-libs/monge-ot-libs.Dockerfile ./monge-ot-libs
To run the final Docker image in interactive mode with port 8888 open:
docker run -it --rm -p 8888:8888 monge-ot-libs
To run Jupyter Lab
cd ~/ot_libs
jupyter lab --ip=0.0.0.0 --allow-root
To share files between the host and the container:
docker run -it --rm -p 8888:8888 -v <your/local/folder>:<your/container/folder> monge-ot-libs
-
To list your Docker images
docker images
-
To delete an image
docker image rm <Image ID> --force