Ceph Nano Docker

Photo by Riaan Myburgh on Unsplash

You can follow README file in https://github.com/ceph/cn, it is so easy to follow up.

You can perform all the steps starting from “Installation”. You may need to give permission to folder “/usr/share” in Docker, from Settings — Resources — File Sharing.

Finally, Dashboard looks like this:

http://127.0.0.1:8080/

user: nano password: nano

To reach from code:

Go to https://github.com/ceph/cn and run the command under the title “Troubleshooting — verify that your config dump should look like this”:

docker exec cn ceph config dump

With the values returned from the command, you can connect now (using aws-java-sdk):

private static final String ACCESS_KEY = “517VHW3VYZTBOLXIF8LS”;
private static final String SECRET_KEY = “0iMN6N8E9vcI1rJ70ChpvhqlWG2B79Y4Z7b2yJwS”;
private static final String HOSTNAME = “http://127.0.0.1:8000";

Note: If you are trying to reach Ceph Nano from Zimbra installed on a Vagrant, HOSTNAME = “http://10.0.2.2:8000" should be set.

You can also see secret key and access key from Ceph Nano Dashboard — Object Gateway — Users, rgw → Edit, keys.

I gave full permission to rgw user’s Capabilities (all capabilities, user quota enabled, bucket quota enabled). I got an error during saving but actually it was successful at the backend:

We can run rgw gateway commands on Docker (https://docs.ceph.com/docs/master/man/8/radosgw-admin/#commands):

With Docker cli (the button in the upper screenshot), terminal is opened:

Happy Coding!

--

--

--

I would love to change the world, but they won’t give me the source code | coding 👩🏼‍💻 | coffee ☕️ | jazz 🎷 | anime 🐲 | books 📚 | drawing 🎨

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Flutter: did not find header ‘config.h’ in framework ‘ruby’ when running sudo gem install cocoapods

macos big sur cocoapods

Weekly Digest 11/2022

Getting Started with Cloudinary in Ruby on Rails 6

Simplicity Pays

Crab Meat: Placeholder Objects and CSV

Fail quick

The Do-Everything System: An in-depth review of Hubzilla 3.0.

How To Evaluate A Platform?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nil Seri

Nil Seri

I would love to change the world, but they won’t give me the source code | coding 👩🏼‍💻 | coffee ☕️ | jazz 🎷 | anime 🐲 | books 📚 | drawing 🎨

More from Medium

Supersonic Java AWS Lambdas using Quarkus

Setup a GitLab CI/CD pipeline with Spring Boot

How to pass configurations to Spring app running on Docker container

Introduction to Docker and Container based development