Requirements for setting up a single machine DevStack instance with docker support running on Ubuntu 16.04
- Install Ubuntu Server 16.04 on a machine
- Add separate user for DevStack
sudo useradd -s /bin/bash -d /opt/stack -m stack
- Give user sudo privileges by
sudo visudo
and adding the following to the end of the file:
stack ALL=(ALL) NOPASSWD: ALL
- Use the above created account
sudo su stack
- Download DevStack
git clone https://git.openstack.org/openstack-dev/devstack
- Before running
./stack.sh
create configuration file called local.conf as per this repository. Don't forget to replace password placeholders with actual passwords.