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

Separate out docker image build and deployment steps into an independent command line tool #1503

Closed
popoludnica opened this issue Mar 2, 2016 · 2 comments

Comments

@popoludnica
Copy link

Container image build and deployment is considered a separate process from container runtime in many enterprise environments.
It would be super-cool (liberating and sensible) if docker image build was independent of docker-engine, docker file-system storage and didn't require any special privileges on a build host.

It can be solved in a form of a command line tool responsible for the following:

  • building new image layers from provided content,
  • building new image manifest referencing parent layers and new layers from the step above,
  • uploading new layers/blobs to the registry repository,
  • mounting or uploading parent layers to the registry repository,
  • uploading the new manifest to the registry

Sometimes an example is worth a thousand words:

imagebuild [PARENT]... [LAYER]... --name=IMAGE
PARENT: <IMAGE>
LAYER: <uri>
IMAGE: <registry>/<reponame>[:<tag>]

I can arrange for contribution of the code if there's any interest? Proof of concept of the above described tool already exists.

Image build split out mentioned: moby/moby#18596
Partial overlap of requirements: moby/moby#18585, moby/moby#17982, moby/moby#7115

@dmp42
Copy link
Contributor

dmp42 commented Mar 2, 2016

Thanks @popoludnica

You are right, and I believe separating "build" from the runtime is something many people want.

Nevertheless, this has (almost) nothing to do with this repo here (which is about the client and server side implementation of the transfer protocol).

I would suggest you open up your suggestion on docker/docker for more visibility.

Closing this for bookkeeping since there nothing actionable on the distribution side to do.

Let me know if that helps.

@dmp42 dmp42 closed this as completed Mar 2, 2016
@popoludnica
Copy link
Author

I assumed that docker/distribution might eventually swallow the build and distribution code and host also related client side tools. That's fine, I'll reopen on the docker/docker side of the fence, thx.

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

2 participants