-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
feature request: docker build interactive #1669
Comments
I think a simple |
currently trying to write a dockerfile for postfix+dovecot & being able to input the hostname would make life good |
In that specific case, I would suggest to hard-code a placeholder hostname (e.g. Would that work for you? |
I'm thinking mostly for sharing dockerfiles https://raw.github.com/Thermionix/Dockerfiles/master/mail-stack-delivery/Dockerfile |
Actually with the new trusted builds and different builds systems for Dockerfiles we do not want stdin because it can produce an inconsistent result. Every time you run If you want to discuss alternatives to a specific issue please join IRC or post on the user mailing list. You may find more help there. |
Lock linux namespace structure when adding neighbors
when building with docker build, occasionally builds fail and the image is not saved
common problems while writing Dockerfile include, missing dependencies, config changes, new package paths
currently what I do is check all the images and run the image in bash and correct it and then commit the image
there can be a interactive version of build where if interactive mode is on, if the build fails it goes into the bash console and that line can be fixed and subsequent commands can be run
something like
sudo docker build -t="projectname" . -i -t /bin/bash
The text was updated successfully, but these errors were encountered: