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

Suggestion: Interactive step-by-step Dockerfile creation #7

Open
orent opened this issue Sep 23, 2016 · 0 comments
Open

Suggestion: Interactive step-by-step Dockerfile creation #7

orent opened this issue Sep 23, 2016 · 0 comments

Comments

@orent
Copy link

orent commented Sep 23, 2016

This is something the daemon-side builder definitely cannot do.

Let the user execute a single step at a time at the shell prompt, with each step appended to the Dockerfile, if successful. After each step it is possible to examine the image by starting a shell in a temporary container or actually start the container. If not satisfied, you can pop the last step or steps and try again. Just recall the command in your shell history, edit it and retry.

When done, you have both an image and the Dockerfile used to build it. You can also see an annotated version with information like the time used by the step, layer size, etc.

Except for special commands like undo and examine image, the syntax is simply "dockramp" followed by a Dockerfile command (single quoted, if necessary).

The usefulness of this depends on not using any commands not backward compatible with standard Dockerfile, of course.

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

1 participant