Skip to content

palmamartin/ceph-jewel-docker-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Run ceph command inside a container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published