Skip to content
Duncan McGreggor edited this page Feb 3, 2016 · 6 revisions

Using CCDC with Docker

TBD

Downloading the CCDC Image

Executing the various docker run commands for the CCDC Docker images will automatically download the latest published images for you. However, you may want to download the images without actually running CCDC (or shelling into the images, etc.). In that case, you may download the CCDC Docker image of interest with the following command:

$ docker pull usgseros/debian-c-ccdc

or

$ docker pull usgseros/ubuntu-c-ccdc

Building the CCDC Images

The following top-level project make target will build all supported Docker images for CCDC:

$ make docker

If you have permissions to publish an updated CCDC Docker image, you may do so with the following target:

$ make dockerhub

Running CCDC with docker

TBD

Interactive CCDC Use

The CCDC Docker images use the ENTRYPOINT directive in their Dockerfiles and as such cannot be used like Docker images which just use the CMD directive (e.g., docker run -i ... /bin/bash).

Here is the command to use when you want to override the CCDC Docker image entry point with something other than what is was built with, e.g., /bin/bash:

$ docker run -i -t --entrypoint=/bin/bash usgseros/debian-c-ccdc -s

That being said, there are convenience maketargets for running a bash in the latest CCDC docker image of each supported distro, e.g.:

  • make ubuntu-bash
  • make debian-bash
Clone this wiki locally