sheromon / ceph-playground

A Docker based Ceph setup for local development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ceph Playground

The main idea of this playground is to provide an easy to use Ceph environment to simply play around with the technology.

Please check the companion blog post - Kick-start Development with Ceph for more details.

TL;DR

Spin up the container using docker compose by running ./up.sh. Stop the container by running ./down.sh. Clean up files from previous session by running ./cleanup.sh.

Go to http://localhost:5000 to use the Ceph Nano web interface.

Examples

Use the embedded s3cmd inside the ceph container docker exec -it ceph-playground_ceph_1 /bin/bash

s3cmd --access_key=sandbox --secret_key=s3cr3t ls s3://sandbox

Create test data

docker exec -it ceph-playground_ceph_1 /tools/prepare-test-environment.sh

add grab the prepared s3cmd configurations like follows from docker/ceph/tools/:

s3cmd --config sandbox.s3cfg ls s3://sandbox 
s3cmd --config docker/ceph/tools/admin.s3cfg ls s3://delivery-sample-data 

About

A Docker based Ceph setup for local development


Languages

Language:Shell 100.0%