GithubHelp home page GithubHelp logo

exodussystem / docker-ceph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ceph/ceph-container

0.0 0.0 0.0 7.85 MB

Docker files and images to run Ceph in containers

License: Apache License 2.0

Makefile 5.37% Shell 77.00% Python 15.81% Dockerfile 1.82%

docker-ceph's Introduction

ceph-container

Ceph Daemon Stars Ceph Daemon Pulls

Build Ceph into container images with upstream support for the latest few Ceph releases on CentOS. ceph-container also supports builds for multiple distributions.

Find available container image tags

All tags can be found on the Docker Hub. For the daemon-base tags visit. For the daemon tags visit.

Alternatively, you can run the following command (install jq first):

$ curl -s https://registry.hub.docker.com/v2/repositories/ceph/daemon/tags/ | jq '."results"[] .name'

Be careful, by default the Docker API returns the first page with its 10 elements. To improve your curl you can pass the https://registry.hub.docker.com/v2/repositories/ceph/daemon/tags/?page=2

Stable images

Since everyone doesn't use Docker Hub API and Docker Hub WebUI doesn't paginate. It's hard to see all available stable images.

Starting August 22th 2018, Ubuntu images are no longer supported. Only openSUSE and CentOS images will be shipped.

Here is an example list of available stable Ceph images

ceph/daemon:v3.0.5-stable-3.0-luminous-centos-7
ceph/daemon:v3.0.5-stable-3.0-luminous-centos-7-x86_64
ceph/daemon:v3.0.5-stable-3.0-luminous-centos-7-aarch64
ceph/daemon:v3.0.3-stable-3.0-luminous-centos-7-x86_64
ceph/daemon:v3.0.2-stable-3.0-luminous-centos-7-x86_64
ceph/daemon:v3.0.1-stable-3.0-luminous-centos-7-x86_64
ceph/daemon:tag-stable-3.0-luminous-centos-7

Development images

It is possible to build a container running the latest development release (master). It also includes the latest development packages from the nfs-ganesha project.

This is only available on CentOS with the following command : make FLAVORS="master,centos,7" build

Core Components

  • ceph/daemon-base: Base container image containing Ceph core components.
  • ceph/daemon: All-in-one container containing all Ceph daemons.

See README files in subdirectories for instructions on using containers.

Building ceph-container

make is used for ceph-container builds. See make help for all make options.

Specifying flavors for make

The make tooling allows the environment variable FLAVORS to be optionally set by the user to define which flavors to operate on. Flavor specifications follow a strict format that declares what Ceph version to build and what container image to use as the base for the build. See make help for a full description.

Building a single flavor

Once the flavor is selected, specify its name in the FLAVORS environment variable and call the build target:

make FLAVORS=luminous,centos,7 build

Building multiple flavors

Multiple flavors are specified by separating each flavor by a space and surrounding the entire specification in quotes and built the same as a single flavor:

make FLAVORS="luminous,centos,7 mimic,opensuse,42.3"  build

Flavors can be built in parallel easily with the build.parallel target:

make FLAVORS="<flavor> <other flavor> <...>" build.parallel

Building with a specific version of Ceph

Some distributions can select a specific version of Ceph to install. You just have to append the required version to the ceph release code name.

The required version will be saved in CEPH_POINT_RELEASE variable (including the version separator). The version separator is usually a dash ('-') or an equal sign ('='). CEPH_POINT_RELEASE remains empty if no point release is given.

Note that CEPH_VERSION variable still feature the ceph code name, luminous in this example.

make FLAVORS=luminous-12.2.2,centos,7 build

Presentations

Restructuring ceph-container

docker-ceph's People

Contributors

andrewschoen avatar bertrandgouny avatar blaineexe avatar christinameno avatar cornelius-keller avatar deviantintegral avatar dmitryint avatar elsonrodriguez avatar fmeppo avatar font avatar galexrt avatar guits avatar h0tbird avatar hookenz avatar hrchu avatar hunter avatar immesys avatar jtlayton avatar ktdreyer avatar leseb avatar liewegas avatar notslang avatar raboo avatar researchiteng avatar rootfs avatar streamnsight avatar timn avatar ulexus avatar untoreh avatar yxwzaxns avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.