Being developers and sysadmins ourselves, we like software that we can just test quickly in a container. That’s why we decided to bring you a single container demo of Quobyte.
This demo will start a container with all Quobyte services and the Quobyte client. With the bidirectional volume mapping you can even access the Quobyte mount directly from your host OS. The setup looks like this:
Please keep in mind that this is a purely functional demo. Since the data is stored inside the container image the performance will be very limited. Also, this demo has just one container so you won’t get the benefits of Quobyte’s linear scalability for performance and also no fault tolerance! Unless you take a snapshot of the container before shutdown, your data will also be lost.
You need a Linux distro with docker version 19.03 or newer like CentOS 7 and your user must be able to talk to the docker daemon. With that said, time to get started. Run the following commands to start the demo:
mkdir -p $HOME/quobyte-mnt && \
docker run -d --rm --name qs -p 8080:8080 \
--mount type=bind,source=$HOME/quobyte-mnt,target=/quobyte,bind-propagation=rshared \
--device /dev/fuse --cap-add SYS_ADMIN -e QUOBYTE_REGISTRY=127.0.0.1 \
--security-opt apparmor:unconfined -e QUOBYTE_HOST_UIDS="$USER:$UID:$USER:7777" \
&& docker logs -f qs