Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 834 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 834 Bytes

ceph-jewel-docker-cmd

This builds a container based on centos:7 and installs the ceph Jewel binary. We can then expose the ceph command inside the container to the shell using a simple shell function. See installation instruction below.

Why?: This allows us to run the ceph command for example on macOS or any other not officially supported platform.

Installation

function ceph() {
   docker run -ti --rm -v $PWD:/etc/ceph/ mazebuhu/ceph-jewel-docker-cmd ceph "$@"
}

Put your ceph.conf and user keyring into the current working directory. (Note: The current working directory will be mapped inside the container as /etc/ceph/)

  • Verify that it works:
ceph -v