Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove dependency on docker daemon for building container images #696

Closed
surajssd opened this issue Jul 11, 2017 · 8 comments
Closed

remove dependency on docker daemon for building container images #696

surajssd opened this issue Jul 11, 2017 · 8 comments

Comments

@surajssd
Copy link
Member

As a part of removing the dependency on docker and docker daemon, I propose we use buildah for building OCI compliant images.
And as a part of this work we will also need a mechanism that helps to push the images so we can use skopeo for that.

This will make sure we can build image anywhere regardless of the docker daemon, we don't need to exec since exec is bad. We can package all this in one single binary.

Project Buildah: https://github.com/projectatomic/buildah
Skopeo project: https://github.com/projectatomic/skopeo

@cdrage
Copy link
Member

cdrage commented Jul 11, 2017

@surajssd Once they both exit alpha / work-in-progress it will make sense to add.

Doesn't make sense to add this to the binary however... If you're using Kompose it's assumed you have Docker installed considering you're converting. The use case as well for building / pushing too is for those whom use Docker within Kubernetes deployments. So makes sense to use a stable API (the Docker API) for builds and pushes.

@pradeepto
Copy link

Actually, Kompose never required Docker to be installed before it had the build story. Integrating with buildah is important because it builds OCI compliant images and this integration is definitely important to have.

Having said that, I agree that buildah is alpha but it is feature complete. It is very important and good to start thinking about integrating it because being an early adopter helps us with influencing the project if need be. I don't think we should remove Docker dependency though. We should implement buildah as a limited support.

@kadel
Copy link
Member

kadel commented Jul 12, 2017

I don't know about this. Kompose is a converter for docker compose files. Expectation is that you are using dokcer-compose alongside with Kompose. I don't know if it is make sense to use smething else for building container than docker.

@pradeepto
Copy link

Good point, but then docker compose is for docker, we use Kompose to move to Kubernetes.

This doesn't need to be a priority issue but if images built using buildah can run on Kubernetes, we should support that.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 31, 2017
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 30, 2018
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@surajnarwade
Copy link
Contributor

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Mar 6, 2018
@surajnarwade surajnarwade reopened this Mar 6, 2018
@cdrage cdrage closed this as completed Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants