make osd containers privileged for dm activation

master
lub 5 years ago
parent 3e4083fdda
commit c71e44834f

@ -3,7 +3,7 @@
version: "3.0"
services:
ceph_osd_${OSD_ID}:
ceph_osd:
container_name: ceph_osd_${OSD_ID}
image: docker.io/ceph/daemon:latest-nautilus
#copy hostname of the host to correctly calculate CRUSH map positions
@ -15,8 +15,7 @@ services:
- /ceph/osd_${OSD_ID}/etc/ceph/:/etc/ceph/
- /dev/:/dev/
command: osd_ceph_volume_activate
cap_add:
- SYS_ADMIN
privileged: true
networks:
- ceph
networks: