Skip to content

A collection of Docker files to run popular OT-related libraries

License

Notifications You must be signed in to change notification settings

TraME-Project/OT-containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Containers for Numerical Optimal Transport

Getting Started

To get started, install Docker and pull the latest Fedora 31 container:

docker pull fedora:31

Build Containers

The build sequence is as follows.

  1. Base container with core libraries:
    docker build --tag=monge-base:latest --tag=monge-base:stable -f ./monge-base/monge-base.Dockerfile ./monge-base
    
  2. Install dependencies for the OT libraries:
    docker build --tag=monge-depen:latest --tag=monge-depen:stable -f ./monge-depen/monge-depen.Dockerfile ./monge-depen
    
  3. 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
    

Running Jupyter Lab

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

Misc Docker Commands

  • To list your Docker images

    docker images
    
  • To delete an image

    docker image rm <Image ID> --force
    

About

A collection of Docker files to run popular OT-related libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published