Difficulty: Beginner
Estimated Time: 10 minutes

In this tutorial, you will learn how to install StorageOS on a three node cluster using Docker.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Install StorageOS with Docker

Step 1 of 5

Prerequisites

In this tutorial, you will install StorageOS on a three node Docker cluster. Open up terminals for the second and third host (type yes where prompted):

ssh [email protected] ssh [email protected]

NBD (Network Block Device) is a default Linux kernel module that allows block devices to be run in userspace. It is not a requirement for StorageOS to run, but improves performance significantly.

Enable the module on each host in turn: sudo modprobe nbd nbds_max=1024 sudo modprobe nbd nbds_max=1024 sudo modprobe nbd nbds_max=1024

You should also install the StorageOS CLI:

curl -sSLo storageos https://github.com/storageos/go-cli/releases/download/0.10.0/storageos_linux_amd64 && chmod +x storageos && sudo mv storageos /usr/local/bin/

and set the environment variables so you can connect to the cluster:

export STORAGEOS_USERNAME=storageos STORAGEOS_PASSWORD=storageos STORAGEOS_HOST=[[HOST_IP]]