Dockerized Development on Ubuntu#

These instructions are meant for advanced users, and currently do not include all steps to copy-and-paste. These instructions apply to Ubuntu as the base image. These instructions create a Ubuntu Docker container ready for building, testing and running Ignition.

Install tools#

An off-the-shelf Docker container for development of Ignition is not available. ignition-tooling/gzdev provides tooling to build such a container for you. The following tools are required to be installed on the host machine:

  1. git - If not already installed consider Ubuntu Binary Install

  2. Docker - If not already installed consider Ubuntu Source Install

  3. gzdev - ignition-tooling/gzdev

  4. vcstool - dirk-thomas/vcstool

Using gzdev ign-docker-env#

Detailed instructions are available in the gzdev repository.

High level instructions:

  1. Create a workspace with the source to mount into a container using vcstool

  2. Use gzdev ign-docker-env to build and start a container with --vol pointing to the previously created workspace

  3. See Ubuntu Source Install section on building for instructions to work with a source install

  4. Consider Contributing

Troubleshooting#

See Troubleshooting