Bug 1260045
Summary: | "man docker-build" doesn't clearly explain using STDIN as argument | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert P. J. Day <rpjday> |
Component: | docker | Assignee: | Sally <somalley> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | adimania, admiller, dwalsh, ichavero, jcajka, jchaloup, lsm5, miminar, somalley, vbatts |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-16 17:41:41 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Robert P. J. Day
2015-09-04 10:01:58 UTC
One more note about the above -- the current man page states: "When the URL to a tarball archive or to a single Dockerfile is given, no context is sent from the client to the Docker daemon." The builder reference page states a bit more informatively that, if you pass a remote archive as the URL, the entire archive is used as the context. Technically, I guess both those statements can be considered true, but it seems it would be more useful to mention that the archive would be used as the context in that case. ACK, one more note on "man docker-build" I just noticed ... under "Building an image and naming that image", there are a number of examples that don't supply a final argument, such as: $ docker build -t fedora/jboss:1.0 ^ ?Final argument? AFAIK, you *must* supply an argument, such as "." for current directory; that is not the default. If you don't, you get: $ docker build -t rday/nginx docker: "build" requires 1 argument. See 'docker build --help'. Usage: docker build [OPTIONS] PATH | URL | - There are a few examples in that man page section that need to be fixed to have a final argument, yes? OK, I think I'm done here. Fixed in docker-1.9. |