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
Govinda Fichtner
43ee564326 update Dockerfile to reflect latest changes
Signed-off-by: Govinda Fichtner <govinda.fichtner@googlemail.com>
2015-12-17 18:54:00 +01:00
Aanand Prasad
2e9a49b4eb Clarify behaviour of 'rm'
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2015-12-17 17:50:45 +00:00
Jean-Laurent de Morlhon
80c9f5bbd9 Merge pull request #2605 from askb/update_bash_comp
update the bash completion with new options added.
2015-12-17 17:46:58 +01:00
Ezra Silvera
219f7192d6 Change the scheduler lock in Mesos cluster
Signed-off-by: Ezra Silvera <ezra@il.ibm.com>
2015-12-17 18:20:57 +02:00
Tibor Vass
9681f0f0d4 Merge pull request #18745 from runcom/pkg-version-String
pkg: version: add String method
2015-12-17 16:58:41 +01:00
Tibor Vass
b0d9476153 builder: remove daemon dependency in ContainerAttach
Signed-off-by: Tibor Vass <tibor@docker.com>
2015-12-17 16:57:08 +01:00
Tibor Vass
03a170c48d builder: remove daemon dependency in ContainerCreate()
Signed-off-by: Tibor Vass <tibor@docker.com>
2015-12-17 16:57:08 +01:00
Jean-Laurent de Morlhon
c07067c7e4 Detect fish shell
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-17 16:43:59 +01:00
Sebastiaan van Stijn
742fd4fa63 Merge pull request #18739 from wenchma/typo
Fix typo error and update index
2015-12-17 15:43:14 +01:00
Antonio Murdaca
98be580794 Merge pull request #18590 from aaronlehmann/limit-v1-fallbacks
Limit v1 protocol fallbacks
2015-12-17 14:44:05 +01:00
Aanand Prasad
100d6f2fbb Merge pull request #2552 from dbonev/2452-implement-cpu-quota
Added support for cpu_quota flag
2015-12-17 12:21:15 +00:00
Sebastiaan van Stijn
3f4dc49210 Merge pull request #18743 from wenchma/plugin_not_found
Sync the docker network create api docs with the error code
2015-12-17 12:16:23 +01:00
Antonio Murdaca
0d9f1e344a pkg: version: add String method
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2015-12-17 11:52:23 +01:00
Sebastiaan van Stijn
5baa93c04e Merge pull request #18662 from runcom/pkg-authZ-response
pkg: authorization: add Err to tweak response status code
2015-12-17 11:12:27 +01:00
Antonio Murdaca
46e3a249a1 pkg: authorization: add Err to tweak response status code
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2015-12-17 11:08:47 +01:00
Antonio Murdaca
1d2b62ceae pkg: plugins: remove dead code
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2015-12-17 11:05:50 +01:00
Wen Cheng Ma
597835e645 Sync the docker network create api docs with the error code
Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
2015-12-17 17:48:50 +08:00
Vincent Demeester
0f749ad55a Merge pull request #18559 from ahmetalpbalkan/return-container-networks
Proposal: Add container networks list to /containers/json
2015-12-17 10:11:18 +01:00
Vincent Demeester
cf0acc8eb9 Merge pull request #18622 from runcom/return-err
layer: layer_store.go: return on error
2015-12-17 09:10:09 +01:00
Fabrizio Soppelsa
2cfa251165 Add the Swarm contribute link and correct a "here" without link
Signed-off-by: Fabrizio Soppelsa <fsoppelsa@mirantis.com>
2015-12-17 00:01:28 -08:00
Zhang Wei
aaf65a47a7 Better debug message for post form data
Print json format instead of default `%q`

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2015-12-17 15:55:39 +08:00
Wen Cheng Ma
e0db2fa4da Fix typo error and update index
Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
2015-12-17 15:40:10 +08:00
David Lawrence
e0dd8c82bf removing TODO for delegated roles on server
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-16 22:00:58 -08:00
Anil Belur
dcdbd84452 Updated the bash completion with new options added.
now changes should reflect the following:
dm ls --timeout
dm env --no-proxy
dm --bugsnag-api-token --github-api-token

Signed-off-by: Anil Belur <askb23@gmail.com>
2015-12-17 10:20:22 +05:30
David Lawrence
ad0582ae9c test that a child role gets removed from the update if it doesn't exist in the parent
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-16 19:27:04 -08:00
Ying Li
15ad91eea3 Add tests for not being able to write changefiles when changing delegations.
This involves refactoring some of the previous write error code.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-16 18:29:54 -08:00
Riyaz Faizullabhoy
e137ea02d7 Merge pull request #374 from docker/changing-version
Changing version to current + 0.1
2015-12-16 18:15:39 -08:00
Ying Li
c917c0b884 Split AddDelegation test so more more levels
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-16 17:54:50 -08:00
David Lawrence
a27e4f7471 moving comment about sorting for clarity
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-16 16:44:12 -08:00
David Lawrence
a3002aafd8 make roles sort alphabetically when equivalent number of segments
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-16 16:41:34 -08:00
Diogo Monica
478b6f93e0 Changing version to current + 0.1
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-12-16 16:22:00 -08:00
Ying Li
351d5483b7 Implement RemoveDelegation for NotaryRepository.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-16 16:01:17 -08:00
Ying Li
c72934794a Implement AddDelegation for NotaryRepository.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-16 16:00:45 -08:00
Ying Li
6fb531faee Add a test that applyTargetsChange for invalid delegation parents.
It will not create a delegation role if the parent doesn't exist.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-16 15:54:30 -08:00
Alexandre Beslic
5e8998eb6d Fix Consul Lock TTL with store failure
If using the Lock TTL feature with Consul, the code
path in libkv is issuing a Put in the background through
the PeriodicRenewal call. The error is then eaten up and
ignored on the candidate loop. This would lead to the
candidate and followers being stuck in their candidate
loop. Consequence would be that they would not retry to
take the lock ending in a state with no Leader.

This patch restores an explicit error check instead of
wrongfully passing on the error to the channel before
giving it back to the caller.

Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-12-16 15:46:11 -08:00
Nathan LeClaire
32795c9d1f Merge pull request #2604 from nathanleclaire/bump_v0.5.5_dev
Bump version to 0.5.5-dev
2015-12-16 15:45:54 -08:00
Nathan LeClaire
552967fc00 Bump version to 0.5.5-dev
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-12-16 15:38:09 -08:00
Nathan LeClaire
6643d0e53e Merge pull request #2603 from nathanleclaire/bump_version_0.5.4
Bump version to 0.5.4
2015-12-16 15:23:27 -08:00
David Lawrence
38d2175087 tests for new validation code
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-16 15:06:48 -08:00
David Lawrence
829254a98c minor test cleanup and small new tests
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-16 15:06:48 -08:00
David Lawrence
309ef56791 adding tests for RoleList
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-16 15:06:05 -08:00
David Lawrence
63ecf5f92f server side delegations support in validation and snapshot generation
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-16 15:06:05 -08:00
Aaron Lehmann
891bbc17ec Make v1 pull/push output consistent with v2
- Use layer DiffIDs for progress output in v1 push. This makes the
  output consistent with v2 pushes, which means that a fallback to v1
  won't start progress bars for a different set of IDs.

- Change wording used in v1 status updates to be consistent with v2.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-16 15:02:24 -08:00
Aaron Lehmann
a57478d65f Do not fall back to the V1 protocol when we know we are talking to a V2 registry
If we detect a Docker-Distribution-Api-Version header indicating that
the registry speaks the V2 protocol, no fallback to V1 should take
place.

The same applies if a V2 registry operation succeeds while attempting a
push or pull.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-16 15:02:03 -08:00
Ying Li
b5c077dd95 Merge pull request #371 from cyli/add-target-picks-delegation
Add/Remove targets takes a list of roles to modify
2015-12-16 14:55:24 -08:00
Ying Li
22aefc9317 Make the addChange code easier to read using the IsDelegation function
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-16 14:31:45 -08:00
Stephen Day
9162760443 Merge pull request #1271 from aaronlehmann/remove-tarsum
Remove tarsum support for digest package
2015-12-16 14:24:11 -08:00
David Calavera
905f3336b2 Merge pull request #15964 from duglin/APIVersion
Add a DOCKER_API_VERSION env var
2015-12-16 14:23:47 -08:00
Nathan LeClaire
403fe4a98a Bump version to 0.5.4
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-12-16 14:20:32 -08:00
David Calavera
cd1ace316d Merge pull request #18671 from saturnism/patch-1
Updated REX-Ray plugin platform support.
2015-12-16 14:16:12 -08:00