Zun DevStack installation

We will now look at how to install a development setup of Zun using DevStack:

Create a root directory for DevStack if needed:

$ sudo mkdir -p /opt/stack
$ sudo chown $USER /opt/stack  

To clone DevStack repository, do the following:

$ git clone https://git.openstack.org/openstack-dev/devstack /opt/stack/devstack  

Now, create a minimal local.conf for running the DevStack setup. We will enable the following plugins to create a Zun setup:

  • devstack-plugin-container: This plugin installs Docker
  • kuryr-libnetwork: This is the Docker libnetwork driver that uses Neutron to provide networking services
$ cat > /opt/stack/devstack/local.conf << END
[[local|localrc]]
HOST_IP=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print ...

Get Containers in OpenStack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.