1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00
Commit Graph

47845 Commits

Author SHA1 Message Date
Phil Estes
214eae6f53 Merge pull request #11163 from duglin/RmiTest
Better error message for `docker rmi ''`
2015-03-05 09:49:46 -05:00
Evan Hazlett
2121382d08 Merge pull request #718 from cheng--zhang/wording
Modify description of StartDocker and StopDocker
2015-03-05 06:47:05 -08:00
Phil Estes
b5036ad5c6 Clarify/cleanup "/etc" volume overlays special /etc mounts test
Added link to original issue and clarified text so someone without any
background on the original issue can understand why the test exists.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-03-05 09:41:56 -05:00
Jessie Frazelle
7125ae00bb Merge pull request #11168 from estesp/no-inotify-overlayfs
Don't test resolv.conf updater on overlay filesystem
2015-03-05 14:04:22 +00:00
Ben Firshman
300234429c Merge pull request #1034 from bfirsh/remove-d11wtq-as-maintainer
Remove @d11wtq as a maintainer
2015-03-05 11:14:50 +00:00
Ben Firshman
3384bc5fcf Merge pull request #1059 from bfirsh/fix-missing-space-in-docs
Fix missing space in rails docs
2015-03-05 11:14:37 +00:00
Cheng Zhang
b756be37eb Modify description of StartDocker and StopDocker
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-05 16:09:19 +08:00
Stephen J Day
40273b1d36 Implement immutable manifest reference support
This changeset implements immutable manifest references via the HTTP API. Most
of the changes follow from modifications to ManifestService. Once updates were
made across the repo to implement these changes, the http handlers were change
accordingly. The new methods on ManifestService will be broken out into a
tagging service in a later PR.

Unfortunately, due to complexities around managing the manifest tag index in an
eventually consistent manner, direct deletes of manifests have been disabled.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-03-04 21:40:55 -08:00
Stephen J Day
f536633ca8 spec: fetch manifests by tag or digest
Manifests are now fetched by a field called "reference", which may be a tag or
a digest. When using digests to reference a manifest, the data is immutable.
The routes and specification have been updated to allow this.

There are a few caveats to this approach:

1. It may be problematic to rely on data format to differentiate between a tag
   and a digest. Currently, they are disjoint but there may modifications on
   either side that break this guarantee.
2. The caching characteristics of returned content are very different for
   digest versus tag-based references. Digest urls can be cached forever while tag
   urls cannot.

Both of these are minimal caveats that we can live with in the future.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-03-04 21:39:36 -08:00
Stephen Day
0418788239 Merge pull request #233 from xiekeyang/master
digest: func Validate in digest doesn't filter no-hex data
2015-03-04 21:30:34 -08:00
Stephen Day
f65cba0c38 Merge pull request #240 from xiekeyang/patch222
doc/spec: patch #222 to api.md.tmpl
2015-03-04 21:24:40 -08:00
Phil Estes
9057ca2541 Don't test resolv.conf updater on overlay filesystem
The overlay filesystem does not support inotify at this time. The
resolv.conf updater test was passing on overlay-based Jenkins because of
a fluke--because it was DIND, /etc/resolv.conf on the "host" was really
a bind-mounted resolv.conf from the outer container, which means a watch
directly on that file worked as it was not overlay backed.  The new test
(from #10703) unmounts the bind-mounted copy to test create and modify
code-paths, which caused us to hit the issue.

This PR also adds a note to the docs about the lack of auto-update when
using the overlay storage driver.

See https://lkml.org/lkml/2012/2/28/223 for more info on inotify and
overlay.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-03-05 00:22:01 -05:00
xiekeyang
4f9a6782bb patch #222 to api.md.tmpl 2015-03-05 13:12:27 +08:00
Michael Chiang
ca675025a0 Merge pull request #217 from kitematic/mike
Update for Apache license to contributing license.
2015-03-04 22:12:38 -05:00
Jeffrey Morgan
4cfef521c9 Bump version 2015-03-04 22:09:14 -05:00
Jeffrey Morgan
65b19570fc Merge pull request #218 from kitematic/setup-fixes
Fix error would sleeping machine vms would break kitematic
2015-03-04 22:07:41 -05:00
Jeffrey Morgan
7817f9bf3f Remove unused function 2015-03-04 22:04:22 -05:00
Jeffrey Morgan
4a4c0628a9 Fix some logging 2015-03-04 22:03:06 -05:00
Jeffrey Morgan
c5cd204a93 Fix error would sleeping machine vms would break kitematic 2015-03-04 21:45:54 -05:00
xiekeyang
7a01d1fae2 Merge branch 'master' of https://github.com/xiekeyang/distribution 2015-03-05 10:40:53 +08:00
xiekeyang
8081a13cdf :func Validate in digest doesn't filter no-hex data 2015-03-05 10:36:48 +08:00
xiekeyang
04e6cc37fa func Validate in digest doesn't filter no-hex data 2015-03-05 10:28:30 +08:00
Stephen Day
91403c1b52 Merge pull request #234 from ncdc/signature-service
Expose Signatures() on Repository
2015-03-04 18:24:36 -08:00
Josh Hawn
e249b478d9 Merge pull request #231 from stevvooe/remove-unnecessary-close
Remove unnecessary close in client
2015-03-04 18:19:35 -08:00
Chen Hanxiao
26e85b0db1 dispatchers: warn user if try to use EXPOSE ip:hostPort:containerPort
We could use EXPOSE ip:hostPort:containerPort,
but actually it did as EXPOSE ::containerPort

commit 2275c833 already warned user on daemon side.
This patch will print warning message on client side.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2015-03-04 21:09:50 -05:00
Andy Goldstein
6b12e34a4b Expose Signatures() on Repository
Add a SignatureService and expose it via Signatures() on Repository so
external integrations wrapping the registry can access signatures.

Move signature related code from revisionstore.go to signaturestore.go.

Signed-off-by: Andy Goldstein <agoldste@redhat.com>
2015-03-04 20:56:11 -05:00
Chen Hanxiao
cbb149f52f docs: add See Also for description of export/import and save/load
make them reference to each other.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2015-03-04 20:21:38 -05:00
Nathan LeClaire
1e983d5ff6 Introduce universal poll retries function
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-04 16:41:48 -08:00
Sebastiaan van Stijn
8833779ae0 Docs: add restart-policies to 'Run reference'
This moves some information on restart-policies from
the "command line" page to "run reference".

Also fixes some minor typos and adds a "NOTE"
about --rm and --restart not allowed to be combined.

Also removes inline CSS styles from tables,
which will be styled by the stylesheet, and fixes
some minor MarkDown errors (`<` -> &lt;)

depends on https://github.com/docker/docs-base/pull/1

resolves #11069

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-03-05 01:13:53 +01:00
Stephen Day
5b72d32265 Merge pull request #227 from stevvooe/readme-documentation-outline
README, doc: update README and outline documentation
2015-03-04 15:07:20 -08:00
Evan Hazlett
aa3f54c033 Merge pull request #714 from knarz/add_digitalocean_flags_docs
add the three new DO flags to the docs
2015-03-04 14:45:26 -08:00
Ahmet Alp Balkan
1a22418f9f pkg/archive: adjust chmod bits on windows
This change modifies the chmod bits of build context archives built on
windows to preserve the execute bit and remove the r/w bits from
grp/others.

Also adjusted integ-cli tests to verify permissions based on the platform
the tests are running.

Fixes #11047.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-03-04 14:10:37 -08:00
Alexander Morozov
5035fa1e21 Merge pull request #11162 from SvenDowideit/if-nil-call-with-nil
Seems like an un-necessary if statement
2015-03-04 13:59:27 -08:00
Doug Davis
5c05b5c992 Add an HTTP Last-Modified header testcase
Make sure ADD uses the Last-Modified as the mtime of the file.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-03-04 13:32:38 -08:00
Sven Dowideit
4e5ea0c875 Seems like an un-necessary if statement
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-03-04 13:24:17 -08:00
Sascha Hanse
b159381f74 add the three new DO flags to the docs
Signed-off-by: Sascha Hanse <shanse@gmail.com>
2015-03-04 22:22:25 +01:00
Doug Davis
eeb36c9348 Better error message for "docker rmi ''"
See: https://github.com/docker/docker/issues/10867

While looking at #10867 I noticed that the error message generated for
a blank image ID wasn't very helpful so this fixes that.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-03-04 13:21:59 -08:00
Evan Hazlett
505c83629f rackspace: enable env var for flavor id
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-04 13:19:08 -08:00
Evan Hazlett
71533dd10f Merge pull request #713 from ehazlett/revert-709
Revert "Fix check for whether docker is installed"
2015-03-04 13:18:13 -08:00
Evan Hazlett
8b6ccddd80 Revert "Fix check for whether docker is installed" we need to revisit
This reverts commit ddc0c50b91.

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-04 13:17:00 -08:00
Sven Dowideit
26e5a9d76a fix to cpu.shares documentation by @hqhq
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-03-04 13:13:22 -08:00
Evan Hazlett
0dcd688799 remove unneeded cleanup from travis config
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-04 13:07:15 -08:00
Evan Hazlett
66664f8b25 Merge pull request #695 from knarz/add_digitalocean_flags
add flags for ipv6, backups and private networking to the DigitalOcean driver
2015-03-04 13:06:25 -08:00
Qiang Huang
e8dc07dabc docs: fix cpu.shares part in man pages
The original description has some mistakes and lack of many useful
information, I rewrite them to make it accurate and complete.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-03-04 13:01:30 -08:00
Martijn Dwars
e2b8933d21 Move directory size calculation to pkg/ (fixes #10970)
Signed-off-by: Martijn Dwars <ikben@martijndwars.nl>
2015-03-04 21:16:31 +01:00
Evan Hazlett
839cc67ab6 Merge pull request #709 from nathanleclaire/fix_docker_check
Fix check for whether docker is installed
2015-03-04 11:37:53 -08:00
Alexander Morozov
e0823b09ec Merge pull request #11000 from anandkumarpatel/invalidate-probe
Improve build speed
2015-03-04 11:35:00 -08:00
Nathan LeClaire
ddc0c50b91 Fix check for whether docker is installed
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-04 11:34:48 -08:00
Jessie Frazelle
7b3ffd5cc0 Merge pull request #10586 from resouer/10532-fix-cors-hardcode
Fix 10532 to change --api-enable-cors to string.
2015-03-04 18:42:20 +00:00
Jessie Frazelle
4bccf278bd Merge pull request #11046 from bfirsh/rename-fig-to-compose
Rename fig to compose
2015-03-04 08:39:01 -08:00