-
Notifications
You must be signed in to change notification settings - Fork 4
Docker
Overview and instructions on running Corekaburra with the provided Docker container.
The file Dockerfile
contains instructions for building a Docker container for Corekaburra.
If you have Docker installed on your computer you can build the container like so:
$ docker build -t Corekaburra .
See below for information about running Corekaburra within the Docker container.
The following section describes how to run Corekaburra within the Docker container. It assumes you have Docker installed on your computer and have built the container as described above. The container behaves in the same way as the normal version of Corekaburra, however there are some Docker-specific details that you must be aware of.
The general syntax for running Corekaburra within Docker is as follows:
$ docker run -i Corekaburra CMD
where CMD should be replaced by the specific command line invocation of Corekaburra. Specific examples are below.
Display the help message:
$ docker run -i Corekaburra Corekaburra -h
Note: it may seem strange that Corekaburra
is mentioned twice in the command. The first instance is the name of the Docker container and the second instance is the name of the Corekaburra executable that you want to run inside the container.
Display the version number:
$ docker run -i Corekaburra Corekaburra --version
For more on running Corekaburra see: Example workflow