-
Notifications
You must be signed in to change notification settings - Fork 0
CCDC & Docker
TBD
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
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
TBD
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 make
targets for running a bash
in the latest CCDC docker image of each supported distro, e.g.:
make ubuntu-bash
make debian-bash