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
Jeffrey Morgan
c365db437b Fix after_script
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-11-24 13:11:31 -05:00
Nathan LeClaire
7b483fe0ee Revise CommandLine interface to contain libmachine client and store
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-11-24 09:59:58 -08:00
Alexander Morozov
ac055a7d54 Merge pull request #18196 from cpuguy83/18190_on_your_marks
Fix race in locker call to `dec()`
2015-11-24 09:54:59 -08:00
Aditi Rajagopal
bc2682badc Checkers on docker_cli_pull_local_test.go
Applying #16756 to integration-cli/docker_cli_pull_local_test.go

Signed-off-by: Aditi Rajagopal <arajagopal@us.ibm.com>
2015-11-24 12:53:43 -05:00
Jeffrey Morgan
55f0bbe164 Add proper release command to Travis
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-11-24 12:51:15 -05:00
Tonis Tiigi
ed4d236e04 Remove graph package
The graph package is no longer used for tag, image, or layer storage.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-11-24 09:40:25 -08:00
Tonis Tiigi
4352da7803 Update daemon and docker core to use new content addressable storage
Add distribution package for managing pulls and pushes. This is based on
the old code in the graph package, with major changes to work with the
new image/layer model.

Add v1 migration code.

Update registry, api/*, and daemon packages to use the reference
package's types where applicable.

Update daemon package to use image/layer/tag stores instead of the graph
package

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-11-24 09:40:25 -08:00
Tonis Tiigi
5fc0e1f324 Add migratev1 package
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-11-24 09:40:25 -08:00
Aaron Lehmann
694df3ff9f Add distribution package
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-11-24 09:40:24 -08:00
Tonis Tiigi
01ba0a935b Add image store
The image store abstracts image handling. It keeps track of the
available images, and makes it possible to delete existing images or
register new ones. The image store holds references to the underlying
layers for each image.

The image/v1 package provides compatibility functions for interoperating
with older (non-content-addressable) image structures.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-11-24 09:40:24 -08:00
Aaron Lehmann
7de380c5c6 Add tag store
The tag store associates tags and digests with image IDs. This
functionality used to be part of graph package. This commit splits it
off into a self-contained package with a simple interface.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-11-24 09:40:24 -08:00
Derek McGowan
500e77bad0 Add layer store
Layer store manages read-only and read-write layers on a union file system.
Read only layers are always referenced by content addresses.
Read-write layer identifiers are handled by the caller but upon registering
its difference, the committed read-only layer will be referenced by content
hash.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-11-24 09:40:23 -08:00
Jeffrey Morgan
1c18320144 Sign
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-11-24 12:31:40 -05:00
moxiegirl
48c7a1618d Merge pull request #18195 from tophj-ibm/doc-link-fixes
Fixed broken links, and updated some to https
2015-11-24 09:30:15 -08:00
David Gageot
d65e23600e Merge pull request #2402 from jeanlaurent/os-specific
Add test on os specific code
2015-11-24 18:02:17 +01:00
Brian Goff
985175fd8f Fix race in locker call to dec()
Can't safely use uint32 for locker since we need to decrement the count,
which requires loading the unit and doing some math, which is inherintly
racey.
Instead use Int32 which we can safely use with atomic and AddInt32 with
`-1`

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2015-11-24 11:59:09 -05:00
Aanand Prasad
c1c1dceb59 Merge pull request #2453 from dnephin/fix_test_assertion
Add missing assert and autospec
2015-11-24 16:45:04 +00:00
Aanand Prasad
88e9c1ccd9 Merge pull request #2438 from dnephin/fix_flaky_pull_test
Fix `build --pull` test flakes
2015-11-24 16:44:53 +00:00
Jean-Laurent de Morlhon
b7745d7bc4 Add Test on VTX Detection
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-24 17:40:22 +01:00
Aanand Prasad
689f040c97 Merge pull request #2429 from dnephin/fix_links_in_readme
Fix use case link in readme
2015-11-24 15:56:05 +00:00
Daniel Nephin
e40670207f Add missing assert and autospec.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2015-11-24 10:42:25 -05:00
Christopher Jones
ad179e0e95 Fixed broken links, and updated some to https
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2015-11-24 10:39:02 -05:00
Jeffrey Morgan
1b58372fa7 Run integration tests on travis
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-11-24 10:38:57 -05:00
Jeffrey Morgan
29ad1d3de2 Brew tap repair
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-11-24 10:33:47 -05:00
David Gageot
56665a82e4 Merge pull request #2385 from dgageot/2086-add-error-column-to-ls
Add an errors column to docker-machine ls
2015-11-24 16:23:22 +01:00
Aanand Prasad
50bc734492 Merge pull request #2427 from dnephin/note_about_pip_version
Add note about required pip version.
2015-11-24 15:21:37 +00:00
Jeffrey Morgan
42a583b2eb Speed up travis build
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-11-24 10:19:24 -05:00
David Gageot
f82ae1c252 Merge pull request #2399 from dgageot/update-dependencies
Update dependencies
2015-11-24 16:07:02 +01:00
David Gageot
2beb59fdff Merge pull request #2401 from betawaffle/packet-driver-link
Add Packet driver
2015-11-24 16:06:08 +01:00
Jean-Laurent de Morlhon
84a40bcc06 Refactor OS Specific code
And introduce Per-OS testing

Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-11-24 16:03:41 +01:00
Andrew Hodges
acbab1f83b Add Packet driver
Signed-off-by: Andrew Hodges <betawaffle@gmail.com>
2015-11-24 09:10:39 -05:00
David Gageot
798217fb10 Merge pull request #2398 from dgageot/virtual-box-tests
Improve VirtualBox driver test coverage
2015-11-24 15:05:25 +01:00
David Gageot
5941ac8cfe Update github.com/skarademir/naturalsort dependency
Signed-off-by: David Gageot <david@gageot.net>
2015-11-24 15:04:54 +01:00
Jean-Laurent de Morlhon
aa0b9ea478 Merge pull request #2397 from dave-tucker/bashfix2
Only run integration tests on Bash 4.1 or later
2015-11-24 12:26:11 +01:00
Sebastiaan van Stijn
56305adf4a Merge pull request #18188 from wenchma/doc_update
Correct some typos for docs
2015-11-24 12:01:17 +01:00
David Gageot
84199a12e3 Improve test coverage
Signed-off-by: David Gageot <david@gageot.net>
2015-11-24 11:29:39 +01:00
Dave Tucker
3a332c8d47 Only run integration tests on Bash 4.1 or later
Fixes #2200

Signed-off-by: Dave Tucker <dt@docker.com>
2015-11-24 09:58:43 +00:00
Vincent Demeester
3a109fcfa2 Merge pull request #18186 from aditirajagopal/16756-docker_api_inspect_unix_test
Checkers on docker_api_inspect_unix_test.go
2015-11-24 10:18:31 +01:00
David Gageot
9039cbba3d FIX #2086 Add an error column to ls
Signed-off-by: David Gageot <david@gageot.net>
2015-11-24 09:50:43 +01:00
David Gageot
f9979c285d Merge pull request #2295 from nathanleclaire/more_testable_interfaces
Move to using more testable interfaces
2015-11-24 09:13:54 +01:00
Wen Cheng Ma
4d66f18be0 Correct some typos for docs
Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
2015-11-24 15:14:32 +08:00
Tianon Gravi
ae1fadeb96 Merge pull request #17714 from mikedougherty/cs-release-fixes
Fixes for release scripts
2015-11-23 19:47:10 -08:00
Nathan LeClaire
19ce7b79bd Revise CommandLine interface to contain libmachine client and store
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-11-23 19:29:20 -08:00
Aditi Rajagopal
d53a9bcb13 Checkers on docker_api_inspect_unix_test.go
Applying #16756 to integration-cli/docker_api_inspect_unix_test.go

Signed-off-by: Aditi Rajagopal <arajagopal@us.ibm.com>
2015-11-23 22:03:14 -05:00
Mike Dougherty
a15b67b1af Fixes for release scripts:
Add a flag to allow keeping bundles around (helps with CI)

Fix several problems in repo make targets

* quote DOCKER_EXPERIMENTAL variable
* pass-through arguments for gpg  provided to dpkg-sig are now quoted
  properly, so passphrases with shell-interpolated symbols can be used
* when determining deb suites, don't rely on 'origin' to be
  github.com/docker/docker

Fix some issues with deb repository creation from scratch

* Don't add empty components to the repository configuration as they
  will cause failure when generating.

Add old docker-engine-cs name to package conflicts

Signed-off-by: Mike Dougherty <mike.dougherty@docker.com>
2015-11-23 17:15:54 -08:00
Alexandre Beslic
1b2afce425 Merge pull request #1016 from dreilly1982/clarifyports
Clairify port usage in multi-manager-setup.md
2015-11-23 17:08:11 -08:00
Victor Vieux
11582f5008 Merge pull request #1358 from kynrai/patch-1
Update for new nsqio image
2015-11-23 16:33:29 -08:00
Sebastiaan van Stijn
919a068fb6 Merge pull request #18171 from MHBauer/gh7205
update 'top' api endpoint documentation
2015-11-24 01:30:15 +01:00
David Calavera
4cb9d298c6 Merge pull request #18147 from DieterReuter/sort-make-targets
Sorting make targets and DOCKER_ENV vars in alphabetical order
2015-11-23 15:55:28 -08:00
Morgan Bauer
e28e4c7840 update 'top' api endpoint documentation
- update example based on '-ef' behavior
 - new example specifying ps args 'aux'
 - resolves #7205

Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
2015-11-23 15:41:34 -08:00