Skip to content

Devp00l/ceph-dev-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

ceph-dev-docker

The purpose of this docker image is to help in the development of ceph.

Usage

Clone ceph

# git clone <repo>
# git submodule update --init --recursive

Image build

# docker build -t ceph-dev-docker .

Running the container

# docker run -it -v /home/rimarques-local/projects/ceph:/ceph --net=host ceph-dev-docker /bin/bash
# cd /ceph
# ./install-deps.sh
# ./do_cmake.sh
# cd /ceph/build
# make -j8

Create a new docker image with all dependencies installed (use a separate terminal)

 # docker ps
 # docker commit <CONTAINER_ID> ceph-dev-docker-build

Running the container with all dependencies installed

 # docker run -it -v /home/rimarques-local/projects/ceph:/ceph --net=host ceph-dev-docker-build /bin/bash

Start ceph development environment

 # cd /ceph/build
 # ../src/vstart.sh -d -n -x

Test ceph development environment

 # cd /ceph/build
 # bin/ceph -s

Stop ceph development environment

 # cd /ceph/build
 # ../src/stop.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published