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
Stéphane Seguin
3a395892fc Fix restart with stopped containers. Fixes #1814
Signed-off-by: Stéphane Seguin <stephseguin93@gmail.com>
2015-12-02 17:31:48 -08:00
Daniel Nephin
09f6a876cf Fixes #2398 - the build progress stream can contain empty json objects.
Previously these empty objects would hit a bug in splitting objects causing it crash.
With this fix the empty objects are returned properly.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-12-02 17:31:48 -08:00
Stefan Scherer
0117148a36 Use uname to build target name for different platforms
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
2015-12-02 17:31:48 -08:00
Simon van der Veldt
8f70c8cdeb run.sh script: Also pass DOCKER_TLS_VERIFY and DOCKER_CERT_PATH env vars to compose container
Signed-off-by: Simon van der Veldt <simon.vanderveldt@gmail.com>
2015-12-02 17:31:48 -08:00
Daniel Nephin
16a74f3797 Fix texttable dep. 0.8.2 was removed from pypi.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-12-02 17:31:48 -08:00
Viranch Mehta
c42918ec7c Fix specifies_host_port() to handle port binding with host IP but no host port
Signed-off-by: Viranch Mehta <viranch.mehta@gmail.com>
2015-12-02 17:31:48 -08:00
Mazz Mosley
d28b2027b8 Clarify dockerfile requires build key
Credit to @funkyfuture for the first PR addressing the clarification.
https://github.com/docker/compose/pull/1767

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
2015-12-02 17:31:48 -08:00
Mazz Mosley
8d816fc2f3 Add cross references for env/cli
Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
2015-12-02 17:31:48 -08:00
Daniel Nephin
f476436027 Merge remote-tracking branch 'docker/release' into bump-1.5.2 2015-12-02 16:56:55 -08:00
David Lawrence
60fe3c48f6 Merge pull request #319 from endophage/migrations
initial database migration state
2015-12-02 16:22:11 -08:00
David Lawrence
44fe5bcaa4 initial database migration state
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-02 16:09:41 -08:00
Stephen Day
2b63f65543 Merge pull request #1226 from aaronlehmann/avoid-stat-roundtrips
Avoid stat round-trips when fetching a blob
2015-12-02 16:09:29 -08:00
David Lawrence
7c5563b7b2 Merge pull request #327 from endophage/unify_tuf_http_get
unify the timestamp handler with the handler for getting other tuf metadata
2015-12-02 16:04:52 -08:00
Tonis Tiigi
f015982f0f Validate digest length on parsing
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-12-02 16:04:06 -08:00
David Lawrence
a1ec8c69e0 unify the timestamp handler with the handler for getting other tuf metadata
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-02 15:50:54 -08:00
Ying Li
5593112f85 Merge pull request #318 from docker/post-to-codecov
Re-enable pushing coverage reports to codecov.io
2015-12-02 15:45:51 -08:00
Nathan LeClaire
98a1c8c159 Merge pull request #2473 from askb/2451_key_filter_case
Fixes #2451 - ensures ls filters `<key>` and `<value>` works case-insensitive
2015-12-02 15:42:12 -08:00
Ying Li
9c8e084e0d Run coverage merge and reporting on all parallel containers.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-02 15:30:22 -08:00
Ying Li
555a46d8f8 Re-enable pushing coverage reports to codecov.io
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-02 15:30:22 -08:00
Ying Li
cb2b2951e0 Merge pull request #325 from mbentley/db-exist-check
Added check to skip db import if exists
2015-12-02 15:27:46 -08:00
David Calavera
580534ba2e Merge pull request #18231 from mqliang/resp
rename req to resp
2015-12-02 14:58:29 -08:00
Jeffrey Morgan
e22999c902 CI: fix concurrent builds
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-12-02 14:52:00 -08:00
Aaron Lehmann
6beeb935cd Avoid stat round-trips when fetching a blob
Without this commit, three round-trips are required to fetch a blob with
a progress bar. The first is a call to Stat (HEAD request), to determine
the size. Then Open is called, which also calls Stat, and finally
performs a GET request.

Only the GET request is actually needed. The size of the blob can be
sniffed from Content-Length in the GET response.

This commit changes HTTPReadSeeker to automatically detect the size from
Content-Length instead of requiring it to be passed in. The Stat call is
removed from Open because it is no longer necessary.

HTTPReadSeeker now takes an additional errorHandler callback argument which
translates an unsuccessful HTTP response into an appropriate API-level
error. Using a callback for this makes it possible to avoid leaking the
repsonse body to Read's caller, which would make lifecycle management
problematic.

Fixes #1223

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-02 14:21:13 -08:00
Matt Bentley
3b02384a0a Added check to skip db import if exists
Signed-off-by: Matt Bentley <matt@docker.com>
2015-12-02 17:05:24 -05:00
David Calavera
434d2e8745 Add PubSub topics.
A TopicFunc is an interface to let the pubisher decide whether it needs
to send a message to a subscriber or not. It returns true if the
publisher must send the message and false otherwise.

Users of the pubsub package can create a subscriber with a topic
function by calling `pubsub.SubscribeTopic`.

Message delivery has also been modified to use concurrent channels per
subscriber. That way, topic verification and message delivery is not
o(N+M) anymore, based on the number of subscribers and topic verification
complexity.

Using pubsub topics, the API stops controlling the message delivery,
delegating that function to a topic generated with the filtering
provided by the user. The publisher sends every message to the
subscriber if there is no filter, but the api doesn't have to select
messages to return anymore.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-02 16:43:49 -05:00
Sebastiaan van Stijn
ee3e07d359 Merge pull request #18301 from wenchma/doc_update_for_net
Add NETWORK_NAME_or_ID value for --net= option
2015-12-02 22:36:01 +01:00
Vincent Demeester
295c27388d Add format flag to network inspect
…for consistency as docker inspect and docker volume inspect supports it too

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-12-02 22:32:10 +01:00
Sebastiaan van Stijn
6deec021e5 Merge pull request #18309 from WeiZhang555/time
Consolidate time format for API
2015-12-02 22:28:28 +01:00
Tonis Tiigi
909821f514 Update storage docs for content-addressability
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-12-02 13:06:02 -08:00
Alexander Morozov
61773e5cbf Merge pull request #18376 from jfrazelle/fix-default-shm-size
fix default shm size in test
2015-12-02 12:54:07 -08:00
Sebastiaan van Stijn
d410cd4751 Merge pull request #18366 from thaJeztah/carry-17293-add-examples-in-search
Carry 17293 add examples in search
2015-12-02 21:52:52 +01:00
Jessica Frazelle
4354b348ad fix default shm size in test
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-12-02 12:43:51 -08:00
Vincent Batts
919104e6bb vendor: update tar-split to v0.9.11
For optimizations.
https://github.com/docker/docker/issues/18370#issuecomment-161399901

Signed-off-by: Vincent Batts <vbatts@redhat.com>
2015-12-02 15:34:12 -05:00
David Calavera
aa2ca5d93c Merge pull request #18371 from sallyom/dontReturnNonError
don't return error if can't delete non-existing container
2015-12-02 11:59:50 -08:00
David Calavera
f8364c013d Merge pull request #18369 from LK4D4/misleading_rm
daemon/delete.go: use less confusing naming of functions
2015-12-02 11:57:18 -08:00
Arnaud Porterie
8f1f53f735 Merge pull request #16277 from runcom/add-oom-score-adj
Add OomScoreAdj
2015-12-02 11:49:51 -08:00
Sebastiaan van Stijn
da6cbc6f53 Merge pull request #33 from thaJeztah/remove-dev.dockerproject.com
remove link to dev.dockerproject.com
2015-12-02 20:41:46 +01:00
moxiegirl
f4176f9169 Merge pull request #18367 from thaJeztah/zelahi-17586-systemd-documentation
[carry] configuring DNS options on systemd
2015-12-02 11:39:18 -08:00
Brian Goff
f411b101ac Merge pull request #18285 from hqhq/hq_fix_swappiness
Set default MemorySwappiness when adapt
2015-12-02 14:25:08 -05:00
David Calavera
d4be46def4 Merge pull request #13587 from rhatdan/volume-tmpfs
Add tmpfs as a valid volume source command.
2015-12-02 11:16:49 -08:00
Daniel Nephin
707281aadb Merge pull request #2291 from dnephin/compose_faq
FAQ document for Compose
2015-12-02 11:12:37 -08:00
Alexander Morozov
828f63f1ab daemon/delete.go: use less confusing naming of functions
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-02 11:10:14 -08:00
Sally O'Malley
bfa5027e96 don't return error if can't delete non-existing container
Signed-off-by: Sally O'Malley <somalley@redhat.com>
2015-12-02 13:48:59 -05:00
Daniel Nephin
3f39ffe72e FAQ document for Compose
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-12-02 10:47:32 -08:00
David Calavera
10b30cf09c Merge pull request #18240 from pospispa/Improvement-of-docker-top-Man-Page
Improvement of docker top Man Page
2015-12-02 10:29:00 -08:00
Jess Frazelle
e274db94dd Merge pull request #18368 from brahmaroutu/gccgo_fix
fix the Dockerfile.gccgo for new dependency
2015-12-02 10:03:29 -08:00
Jess Frazelle
289251d088 Merge pull request #17769 from tianon/vendor-windows
Fix Windows support in .vendor-helpers.sh
2015-12-02 10:02:08 -08:00
Ying Li
d131a7a7fd Merge pull request #320 from HuKeping/tiny
Tiny refactor
2015-12-02 09:58:49 -08:00
Pavel Pospisil
1edc410e41 Improvement of docker top Man Page
Some users expect that the `docker top $CONT` command displays information from the inside container perspective.
They expect that the `docker top $CONT` command displays same information as the `docker exec $CONT ps -ef` command. But it does not.

That's why the `docker top` man page shall explicitly state that the `docker top $CONT` displays information from the host's point of view.

Signed-off-by: Pavel Pospisil <pospispa@gmail.com>
2015-12-02 18:54:52 +01:00
David Gageot
92ce49b367 Put all core drivers in docker-machine binary
Signed-off-by: David Gageot <david@gageot.net>
2015-12-02 18:48:19 +01:00