Re: Building Ceph in Docker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I know we're building Ceph in Linux distributions and many of you use
vstart.sh as I do. Steps to install dependencies are easy so we don't
have to worry about prerequisites in a dev machine.

I'm thinking if it's useful to build Ceph in Docker. There are reasons
to do this, for example 1) not be able/willing to install quite a few
dependency software/library on a shared Linux, 2) to have a standard
build image for isolated and automatic testing, and 3) to build on
Mac/Windows. I know for this we can create Linux virtual machines on
Mac/ Windows, but I think container is lightweight and better.

So I attach a small script that creates a Docker image to build the
Ceph from source, and then starts a test cluster with vstart.sh in a
container. Do you think it's something useful and/or worth to have in
source tree?

When I was building Hadoop, I found its start-build-env.sh helpful,
which is basically the same idea I borrowed here.

Have you looked at docker-test.sh ?

https://github.com/ceph/ceph/blob/master/src/test/docker-test.sh

I have not tried it in awhile, but it used to be able to not only build Ceph but also run "make check", in a Docker container. It support(ed) several different operating systems.

It would be nice if someone got it working again.

Nathan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux