Bug 1252097
Summary: | Some minor tweaks to "man Dockerfile". | ||
---|---|---|---|
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, 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 19:57:57 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-08-10 17:21:29 UTC
Couple more observations on "man Dockerfile", even though I think that entire page could be rewritten. First, there is no mention that both COPY and ADD can take archive-type arguments (tar, gzip, bzip2); *however*, I just learned that such archive files will be automatically unpacked only if they're local -- archives copied via URL will NOT be automatically unpacked. (Side note: https://labs.ctl.io/dockerfile-add-vs-copy/ is a decent blog post basically saying don't use ADD at all, and it makes a compelling argument.) Also, it might be worth mentioning that LABEL is useful not only for adding arbitrary metadata to an image, but in the context of atomic hosts as explained here: https://github.com/projectatomic/atomic/ But that's a judgment call. I think adding the information on ADD/COPY would be appropriate. Adding information on LABEL, might be controversial, since we use it for tooling but not in docker in general. Might be able to list some potential use cases of LABEL though. Seems to be a missing ] here: LABEL [<key>[ <value>] merged https://github.com/docker/docker/pull/16043 (and fixed errant [) :) Fixed in docker-1.9 |