| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Replace references to old Client with APIClient
Moved contents of services.md to appropriate locations
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| | |
A new user-focused API
|
| |
| |
| |
| |
| |
| | |
See #1086
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
| |
| |
| |
| | |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
| |
| |
| |
| | |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
| |
| |
| |
| | |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
| |
| |
| |
| | |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|/
|
|
| |
Signed-off-by: biniambekele <biniambekele@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Jamie Greeff <jamie@greeff.me>
|
|
|
|
| |
Signed-off-by: Ryan Belgrave <Ryan.Belgrave@target.com>
|
|\
| |
| | |
enable setting of node labels #1225
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added update_node function to enable setting labels on nodes. This
exposes the Update a Node function from the Docker API and should
enable promoting/demoting manager nodes inside a swarm.
Signed-off-by: Nathan Shirlberg <nshirlberg@labattfood.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| | |
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|/
|
|
| |
Signed-off-by: Maxime Feron <maxime.feron@corp.ovh.com>
|
|
|
|
|
|
|
|
|
| |
Real errors were getting swallowed in these tests, producing
other confusing cascading errors. This makes it much easier to
make sure a node is not in a Swarm, while also handling other
errors correctly.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
|
|
|
|
|
|
| |
Reduce code duplication in import_image* methods
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
| |
Tests + docs
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
| |
Refactor auth header computation
Add tasks methods and documentation.
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
| |
Tests and docs updated to match
docker.utils.types has been moved to docker.types
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
| |
Add Client.update_swarm method
Add test for Client.update_swarm
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
|
| |
Rename swarm methods to be more explicit
Utility methods / types to create swarm spec objects
Integration tests
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
|
|
|
| |
3 API are added
swarm_init()
swarm_leave()
swarm_join()
Signed-off-by: Min Zhang <virgilerin@gmail.com>
Signed-off-by: Min Zhang <virgilerin@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
3 API are added
swarm_init()
swarm_leave()
swarm_join()
Signed-off-by: Min Zhang<minzhang.work@gmail.com>
Signed-off-by: Min Zhang <virgilerin@gmail.com>
|
|
|
|
| |
Signed-off-by: Keerthan Reddy Mala <kmala@deis.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: David Gageot <david@gageot.net>
|
|
|
|
| |
Signed-off-by: David Gageot <david@gageot.net>
|
|
|
|
|
|
| |
Fixes #1102
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initialize headers variable in BuildApiMixin.build() as a dict rather
than as None. This way the correct object gets passed to
_set_auth_headers() even if no headers were set in build()
* Changing object from None to {} in BuildApiMixin._set_auth_headers()
removed because it changes the object reference, so has no effect on
calling code.
Signed-off-by: Justin Michalicek <jmichalicek@gmail.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Thomas Grainger <tom.grainger@procensus.com>
|
|
|
|
| |
Signed-off-by: Jonathan Giannuzzi <jonathan@giannuzzi.be>
|
|
|
|
|
|
| |
in login()
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| |
| | |
dimaspivak-master
|
| |
| |
| |
| |
| |
| | |
docker commit --changes was added to Docker in 1.6.0.
Signed-off-by: Dima Spivak <dima@spivak.ch>
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
When set to True, this prevents creating more than one network with the same name (see https://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#create-a-network)
Signed-off-by: Gabriel Féron <feron.gabriel@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| | |
Signed-off-by: Michael Sander <michael.sander@docketalarm.com>
|
|/
|
|
|
|
| |
Gzipping this tarball can greatly reduce the time it takes to send a docker file.
Signed-off-by: speedplane <mes65@cornell.edu>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Matt Daue <mattdaue@gmail.com>
- Implement check to validate API ver is >= 1.22 for new feature
- Includes patch @elchris82: Changed network in data dict to IPAMConfig as needed from the API. See https://github.com/docker/docker/issues/20732
- Update unit test for container attach to net
- Update integration tests
- Add integration test for IP setting
Signed-off-by: Matt Daue <mattdaue@gmail.com>
|
|
|
|
|
|
|
| |
Stream helper has the ability to decode the responses from strings to
JSON. This commit enables this functionality on push and pull operations.
Signed-off-by: Aleksandar Topuzovic <aleksandar.topuzovic@gmail.com>
|