version: "3.0" services: ceph_client: container_name: ceph_client image: docker.io/ceph/daemon:latest-octopus devices: - /dev/fuse volumes: - /ceph/client/etc/ceph/:/etc/ceph/ #:shared makes container mounts accessiable from the host - /cephfs/:/cephfs/:shared entrypoint: ceph-fuse command: /cephfs/ -f --id ${HOSTNAME} security_opt: #required for fuse - apparmor:unconfined cap_add: #required for fuse - SYS_ADMIN networks: - ceph networks: ceph: external: true