Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tbird committed Sep 29, 2015
2 parents d118038 + 300be2d commit 472faab
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
# docker-volume-rbd
A Docker volume driver for RBD

##### CoreOS
If you are a CoreOS user (like me) you must provide a way to run the `rbd` command.
I have my Ceph config in `/etc/ceph` so I can do this:
```
core@core-1 ~ $ cat /opt/bin/rbd
#!/bin/bash
docker run -i --rm \
--privileged \
--pid host \
--name rbd \
--net host \
--volume /dev:/dev \
--volume /sys:/sys \
--volume /etc/ceph:/etc/ceph \
ceph/base rbd $@
```

0 comments on commit 472faab

Please sign in to comment.