Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Docker container for an OCaml + OPAM setup
Branch: master
Pull request Compare This branch is 5 commits ahead, 53 commits behind avsm:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Builds a docker container with a basic Ubuntu, OPAM and a customisable set of OPAM packages installed.


  • install Docker (curl -s | sudo sh on Ubuntu or see
  • add the needed users to the docker group
  • clone this repo
  • run the build: ./ opamdock/browse ocp-browser ocp-index curses First argument is the name of your docker container, second is the default command to run, and then a list of opam packages. This will make a local mirror of the needed package archives, then create the docker container
  • run your container: docker run -t -i opamdock/browse -t and -i are needed to bind a terminal to the docker instance.
Something went wrong with that request. Please try again.