Ceph RBD for Docker Volume

Ceph

Docker

Volumes in Docker

Prerequisites:

Let’s Do It

$ceph osd pool create docker_vol 32
$ceph auth get-or-create client.docker osd 'allow rw pool=docker_vol' mon 'allow r' -o /etc/ceph/ceph.client.docker.keyring
docker plugin install wetopi/rbd \ 
--alias=wetopi/rbd \
LOG_LEVEL=1 \
RBD_CONF_POOL="docker_vol" \
RBD_CONF_CLUSTER=ceph \
RBD_CONF_KEYRING_USER=client.docker

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store