Re: Build custom container from source

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

 



Hi Dmitry and Jeff - I tried using the ceph-container project last week to do some local testing with containers, but I could not get it to work for me either. I was trying it on CentOS7 and kept erroring out with missing packages/etc. I can build ceph and run vstart for my dev cluster but the containers just didn't happen for me. If there is a good walkthrough somewhere, that would definitely help.

On Mon, Feb 7, 2022 at 11:48 AM Jeff Layton <jlayton@xxxxxxxxxx> wrote:
Right, you have to build packages first, set up a repo with the changes
and then use ceph-container to build the image. After all, there's a lot
more in a container image than just ceph binaries. It's a non-trivial
amount of work to do by hand, I'm afraid.

On Mon, 2022-02-07 at 20:47 +0300, Dmitry Kvashnin wrote:
> I made my branch from tags/v16.27 , tested the changes by building the
> binaries, and now I want to build a container to use with cephadm. I'm
> looking at the ceph-container but can't find any information how to
> build the container from my own packages. ceph-container wants to
> download files from third party repositories.
>
> пн, 7 февр. 2022 г. в 20:26, Jeff Layton <jlayton@xxxxxxxxxx>:
> > On Mon, 2022-02-07 at 20:04 +0300, Dmitry Kvashnin wrote:
> > > Hi all,
> > >
> > > Help me build a container from my own branch.
> > > Maybe there is some guidance? Maybe some scripts?
> > > I know how to build from source, I know how to build packages, but
> > > I
> > > can't find any documentation or guides on building ceph
> > > containers.
> > > I need to build a container from my branch and test it.
> >
> > It has been a while since I've done it, but you probably want the
> > ceph-
> > container project:
> >
> >     https://github.com/ceph/ceph-container/
> >
> > It has scripts that will build container images for you. Alternately
> > if
> > you have commit access to the ceph-ci tree, you can push a wip-*
> > branch
> > and once it's built it will automagically make container images at
> > quay.ceph.io.
> >
--
Jeff Layton <jlayton@xxxxxxxxxx>

_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [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