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
HuKeping
fd0b628e70 Update some comments
If we update the maximum value for "infinite" in the future, it is possible
that we forget to update this comments and thus leads misunderstanding.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-04-13 21:23:51 +08:00
Vincent Demeester
edfe4e9fba Merge pull request #21885 from triccardi-systran/20612-improve-build-cache-miss-documentation
Improve build cache miss doc for `ARG` and `RUN`
2016-04-13 15:23:14 +02:00
Thomas Riccardi
82f5ef2d25 Improve build cache miss doc for ARG and RUN
The documentation already says the cache miss happens only at `ARG`
variable usage, not declaration, but there is a very common implicit
usage: `RUN`, which this commit documents even more, improving on #21790.

Also, use `definition` instead of `declaration`: it's the same thing, and
`definition` is already used in this documentation, contrary to
`declaration`.

Also, distinguish between "instructions" and "variables defined by `ARG`
instructions".

Signed-off-by: Thomas Riccardi <riccardi@systran.fr>
2016-04-13 15:02:09 +02:00
Vincent Demeester
f5d3f528fd Merge pull request #21965 from aboch/doc
Update /containers/create remote API docs
2016-04-13 12:56:40 +02:00
Morgan Bauer
d2e375e31d volume rm integration test needs wait to avoid race
- additional comments in test

Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
2016-04-13 11:47:00 +01:00
Ying Li
812acce15f Merge pull request #678 from cyli/lint-fix
fix "make lint" to lint every file
2016-04-12 22:54:41 -07:00
Victor Vieux
b82aa273d9 update CHANGELOG.md
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-04-12 22:34:15 -07:00
Ying Li
39d312dac6 While we're at cleanups, change "name" in keydbstore to be keyID to more
accurately reflect what the name of the key is.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-12 22:28:32 -07:00
Ying Li
cf4e726514 "make lint" wasn't actually linting every file in the repo. golint ./...
ignores buildtags, for instance, and somehow didn't pick up some code in
the signer.

This calls golint on every go file in the repo and also fixes some linting
issues, which involves renaming two yubikey functions to avoid stuttering.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-12 22:28:32 -07:00
Victor Vieux
2bbea5d1a4 Merge pull request #2115 from vieux/update_to_1.5.4
update to go 1.5.4
2016-04-12 22:23:49 -07:00
Victor Vieux
a213794b55 Merge pull request #2114 from vieux/GOOS_dockerfile
Add GOOS buildarg in dockerfile
2016-04-12 21:59:32 -07:00
David Lawrence
d01d666771 Merge pull request #656 from docker/build-run-integration-test
Build run integration test
2016-04-12 21:57:01 -07:00
David Lawrence
a301086be0 Merge pull request #676 from docker/make-integration-fix
Write to file to signal success for make integration
2016-04-12 21:51:46 -07:00
Tibor Vass
348d902768 Merge pull request #21959 from coolljt0725/fix_21957
Fix docker load progressbar, fixes #21957
2016-04-13 00:31:27 -04:00
David Lawrence
18fa8a2fc6 Merge pull request #677 from cyli/mtrmac-cleanups
@mtrmac's cleanups, split from root/cert rotation feature
2016-04-12 20:56:15 -07:00
Victor Vieux
03f7a1167d update to 1.5.4
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-04-12 20:08:36 -07:00
Lei Jitang
96d7db665b Fix docker load progressbar, fixes #21957
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2016-04-12 22:45:42 -04:00
French Ben
393c93d688 Merge pull request #1407 from docker/1174-refresh
Added view menu refresh option - Fixes #1174 🎱
2016-04-12 18:28:27 -07:00
French Ben
ba548056ab Merged with master 2016-04-12 18:24:55 -07:00
Brian Goff
40502e3813 Merge pull request #21949 from aaronlehmann/vendor-distribution-1622
Vendor distribution to correct config blob media type in schema2 manifest
2016-04-12 21:23:22 -04:00
John Howard
d691b4af18 Windows: Timeout TestContainerApiPostContainerStop
Signed-off-by: John Howard <jhoward@microsoft.com>
2016-04-12 18:21:54 -07:00
French Ben
c1c1922efc Merge pull request #882 from FrenchBen/local-images
Local images support!
2016-04-12 18:20:28 -07:00
French Ben
db5d9e015e Merged master and updated logic for local images
Signed-off-by: French Ben <me+git@frenchben.com>
2016-04-12 18:19:23 -07:00
Riyaz Faizullabhoy
20711a4128 Pipe build output to dev null
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-12 18:09:55 -07:00
FrenchBen
76980a6e5b Added support for creating containers from local images
Signed-off-by: FrenchBen <me+git@frenchben.com>
2016-04-12 18:08:11 -07:00
French Ben
70d3650dcf Merge pull request #1623 from docker/close-listener
Added closing of event listener
2016-04-12 17:59:11 -07:00
French Ben
d0e490dd6e Added closing of event listener
Signed-off-by: French Ben <me+git@frenchben.com>
2016-04-12 17:58:43 -07:00
French Ben
1a03a83d00 Improved errors and native logic
Signed-off-by: French Ben <me+git@frenchben.com>
2016-04-12 17:41:05 -07:00
Aaron Lehmann
fa4fea3233 Merge pull request #21337 from yongtang/21247-TestRunAttachFailedNoLeak
Flaky test: TestRunAttachFailedNoLeak (#21247)
2016-04-12 17:40:16 -07:00
Brian Goff
9e6b1852a7 Fix N+1 calling Path() on volume ls
Implements a `CachedPath` function on the volume plugin adapter that we
call from the volume list function instead of `Path.
If a driver does not implement `CachedPath` it will just call `Path`.

Also makes sure we store the path on Mount and remove the path on
Unmount.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-04-12 20:30:34 -04:00
Nathan LeClaire
285b7e5165 Merge pull request #3296 from mmalchuk/master
Correct error handling for external SSH client
2016-04-12 17:24:38 -07:00
Victor Vieux
418118057d Add GOOS buildarg in dockerfile
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-04-12 17:14:22 -07:00
Ying Li
dcc41be3e1 Rename cert function, and also check if newCertMap is empty.
Also do not check for CKR_FUNCTION_FAILED for error translation

Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-12 16:07:37 -07:00
Riyaz Faizullabhoy
23a1cf3c60 Make file accessible to CI
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-12 16:03:04 -07:00
Riyaz Faizullabhoy
cb080ede06 Fix test_output path and remove
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-12 15:32:58 -07:00
Riyaz Faizullabhoy
4216a37149 Write to file to signal success for make integration
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-12 15:32:58 -07:00
Alexander Morozov
f3dcc1c462 Merge pull request #21962 from Microsoft/jjh/logssincefuturefollow
Windows: Disable flakey LogsSinceFutureFollow
2016-04-12 15:07:51 -07:00
Nishant Totla
767c182562 Merge pull request #2113 from kencochrane/doc_typo_fix
Fixed a couple typos in the docs
2016-04-12 14:42:01 -07:00
Miloslav Trmač
4a271d4b3e Log certificate IDs during root verification
"found 1 certificate" does not say which certificates are involved; log
their IDs.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-04-12 14:33:46 -07:00
Miloslav Trmač
bcc97ed221 Fill the KeyID member of ErrKeyNotFound in KeyDBStore
(Not necessary for the rest of this PR, just a related cleanup.)

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-04-12 14:33:46 -07:00
Miloslav Trmač
229d64e0e0 Use ErrKeyNotFound in KeyStore.GetKey
3 out of 4 KeyStore implementations have already been returning this
type or a pointer to it; document this as a requirement, and modify
implementations to comply.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-04-12 14:33:46 -07:00
Miloslav Trmač
12879622ac Clean up tuf/signed/sign_test.go
- Remove Sign, no longer needed for CryptoService implementations
- Remove unused testKeyID1
- Drop the intermediate MockCryptoService with no users; rename
  StrictMockCryptoService to MockCryptoService
- Actually be strict in the new MockCryptoService, and fix key ID
  use
- Clearly document what FailingCryptoService and MockCryptoService
  are supposed to do

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-04-12 14:33:46 -07:00
Miloslav Trmač
01da4b1a11 Drop an unexpected corner case in certificate rotation
keystoremanager.certsToRemove unexpectedly returns an empty map of old
certificates when there are no new ones.  While there is nothing really
great to do in that case (we don't want rotation to make a repo
completely unusable), this already can not happen so just fail instead
of having this weird case.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-04-12 14:33:46 -07:00
Miloslav Trmač
28d1f487cf Use more descriptive variable names in keystoremanager.ValidateRoot
allValidCerts implies validity, and certsFromCN is neutral, when the
roles are at least reversed.  So, talk about neutral certsFromRoot,
and trustedCerts.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-04-12 14:33:46 -07:00
Miloslav Trmač
14a563bb51 Add a few more descriptive comments
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2016-04-12 14:33:45 -07:00
Ken Cochrane
08cacffd97 Fixed a couple typos in the docs
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com>
2016-04-12 17:26:30 -04:00
Alexander Morozov
9438572fc0 Merge pull request #21897 from calavera/remove_authorization_refs_from_api
Move middleware to interfaces.
2016-04-12 14:08:36 -07:00
David Calavera
7c16063afa Merge pull request #21714 from hallyn/2016-03-31/aufs.2
don't try to use aufs in a user namespace
2016-04-12 14:07:51 -07:00
Derek McGowan
ab2394446c Integration test readme update
Updates the readme to mention running the tests using golem.
Also provides instructions for making test development easier.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-04-12 14:03:56 -07:00
Alessandro Boch
30859c3456 Update /containers/create remote API docs
- Show how to pass the networking config in POST containers/create body

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-04-12 13:41:13 -07:00