Skip to content

Developing in the Container

Michael Sevilla edited this page Aug 21, 2016 · 7 revisions

Developing in the Container

Use this guide if you want to continually re-compile Ceph.

  1. Launch a development container and attach your source code:

    docker run -d -it \
      --name ceph-dev \
      -v `pwd`/mantle:/ceph \
      -v /dev:/dev \
      -v /cephfs:/cephfs:shared \
      -v /dev:/dev \
      -v /run:/run \
      -v /sys:/sys \
      --privileged \
      --entrypoint=/bin/bash \
      cephbuilder/ceph:jewel
    docker exec -it ceph-dev /bin/bash
    
  2. Code, code, code...

  3. Recompile using our scripts:

    build-make
    
Clone this wiki locally