John Stephens
9043d39dea
Fix stack compose bind-mount volumes for Windows
...
For stack compose files, use filepath.IsAbs instead of path.IsAbs, for
bind-mounted service volumes, because filepath.IsAbs handles Windows
paths, while path.IsAbs does not.
Signed-off-by: John Stephens <johnstep@docker.com>
2017-05-31 21:13:58 -07:00
Kenfe-Mickaël Laventure
6c59636498
Merge pull request #129 from dnephin/remove-gox
...
Remove gox, add support for s390x
2017-05-30 14:05:58 -07:00
Daniel Nephin
b7b7d784d8
Remove gox, add support for s390x
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-05-30 16:01:21 -04:00
Kenfe-Mickaël Laventure
f3cb13c550
Merge pull request #118 from cpuguy83/no_prune_volume
...
Don't prune volumes on `docker system prune`
2017-05-30 10:21:15 -07:00
Brian Goff
ebd5191c0e
Merge pull request #135 from johnstep/fix_stack_service_configs
...
Include stack service configs in service specs
2017-05-30 13:17:49 -04:00
Brian Goff
37fd6128dc
Don't prune volumes on `docker system prune`
...
Volumes tend to carry important data and pruning them on `docker system
prune` can easily cause unwanted data loss.
Let's play it safe and not prune volumes on `system prune` by default,
and instead provide an option.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-05-30 12:50:30 -04:00
Evan Hazlett
f573976486
Merge pull request #134 from johnstep/remove_stack_configs
...
Remove stack configs on stack removal
2017-05-30 11:53:54 -04:00
John Stephens
b7cac96f69
Include stack service configs in service specs
...
Signed-off-by: John Stephens <johnstep@docker.com>
2017-05-26 21:41:04 -07:00
John Stephens
f05cd11ee2
Remove stack configs on stack removal
...
Signed-off-by: John Stephens <johnstep@docker.com>
2017-05-26 18:17:43 -07:00
Aaron Lehmann
1b8b63be5c
Merge pull request #126 from marcusmartins/handle_empty_registry_info
...
Handle a Docker daemon without registry info
2017-05-26 15:32:09 -07:00
Marcus Martins
862649707e
Handle a Docker daemon without registry info
...
The current implementation of the ElectAuthServer doesn't handle well when the
default Registry server is not included in the response from the daemon Info
endpoint.
That leads to the storage and usage of the credentials for the default registry
(`https://index.docker.io/v1/ `) under an empty string on the client config file.
Sample config file after a login via a Docker Daemon without Registry
information:
```json
{
"auths": {
"": {
"auth": "***"
}
}
}
```
That can lead to duplication of the password for the default registry and
authentication failures against the default registry if a pull/push is performed
without first authenticating via the misbehaving daemon.
Also, changes the output of the warning message from stdout to sdterr as
per dnephin suggestion.
Signed-off-by: Marcus Martins <marcus@docker.com>
2017-05-26 14:46:39 -07:00
Tibor Vass
11e7d35f9c
Merge pull request #127 from andrewhsu/gitcommit
...
allow override of git hash when building binary
2017-05-24 15:57:02 -07:00
Andrew Hsu
446af3a9b7
pass in optional GITCOMMIT override
...
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
2017-05-24 22:45:42 +00:00
Sebastiaan van Stijn
61c0b9f78d
Merge pull request #102 from keloyang/attach-block
...
Recheck the container's state to avoid attach block.
2017-05-24 12:09:38 +01:00
Daniel Nephin
e47cc91ac9
Merge pull request #109 from vdemeester/codecov-in-circle
...
Add test-coverage & codecov target and update circleci
2017-05-23 11:59:05 -04:00
Kenfe-Mickaël Laventure
28eb46de56
Merge pull request #119 from andrewhsu/ver
...
allow version number to be set in builds
2017-05-22 18:16:41 -07:00
Andrew Hsu
3dfe334a7a
allow version number to be set in builds
...
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
2017-05-22 13:22:42 -07:00
Shukui Yang
f9dc3337f9
Recheck the container's state to avoid attach block.
...
If use docker attach command to attach to a stop container, it will return
"You cannot attach to a stopped container" error, it's ok, but when
attach to a running container, it(docker attach) use inspect to check
the container's state, if it pass the state check on the client side,
and then the container is stopped, docker attach command still attach to
the container and not exit.
Signed-off-by: Shukui Yang <yangshukui@huawei.com>
2017-05-20 08:02:06 +08:00
Daniel Nephin
f6d148c632
Upload coverage report from outside of test container.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-05-19 17:37:38 -04:00
Vincent Demeester
d79d903864
Add test-coverage & codecov target and update circleci
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-05-19 17:22:37 -04:00
Daniel Nephin
883d28cfce
Merge pull request #106 from dnephin/improve-makefile
...
Remove @ from Makefiles
2017-05-19 16:03:04 -04:00
Kenfe-Mickaël Laventure
1fc7eb5d64
Merge pull request #104 from dnephin/add-ppc64le-to-cross
...
Add ppc64le to cross
2017-05-19 08:02:01 -07:00
Daniel Nephin
46049dd0b6
Enabled linux/ppc64le cross build.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-05-18 13:07:26 -04:00
Sebastiaan van Stijn
eea4a38cd6
Merge pull request #77 from vdemeester/move-duration-opts
...
Move duration opts into an opts package
2017-05-18 11:15:30 +02:00
Madhu Venugopal
3dfb8343b1
Merge pull request #62 from abhinandanpb/master
...
Adding network specific option in csv format for service create/update
2017-05-17 21:17:23 -07:00
Abhinandan Prativadi
0893ab8560
moving opts to cli repo
...
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-05-17 21:08:58 -07:00
Abhinandan Prativadi
2e07636e5e
moby vendoring
...
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-05-17 21:08:57 -07:00
Abhinandan Prativadi
40341ae089
Adding network options to service create/update
...
Changes added to accept network specific options in
docker service create/update
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-05-17 21:07:48 -07:00
Madhu Venugopal
d156151ba1
Merge pull request #49 from aboch/nlo2
...
Add network create flags --scope, --config-only, --config-from
2017-05-17 20:08:23 -07:00
Alessandro Boch
f7415aa953
Vendor moby/moby @4874e0
...
Signed-off-by: Alessandro Boch <aboch@docker.com>
2017-05-17 19:55:09 -07:00
Sebastiaan van Stijn
74cc280521
Merge pull request #30 from nishanttotla/rename-trust-function
...
Moving docker service digest pinning to client side
2017-05-18 03:05:48 +02:00
Nishant Totla
39d03bb2bd
Adding a flag to allow disabling registry lookup
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2017-05-17 17:55:11 -07:00
Nishant Totla
c61ea6f789
Service create/update set QueryRegistry appropriately
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
2017-05-17 17:39:35 -07:00
Alessandro Boch
b5e43fb5ec
Add support for config-only, config-from and scope options
...
- To promote a network to swarm mode
Signed-off-by: Alessandro Boch <aboch@docker.com>
2017-05-17 17:17:50 -07:00
Sebastiaan van Stijn
85c2330dfa
Merge pull request #80 from AkihiroSuda/adjust-docker-stats
...
[Carry moby/moby#32777 ] Adjusted docker stats memory output
2017-05-18 01:55:52 +02:00
Sebastiaan van Stijn
b3e7e1ff74
Merge pull request #101 from jlhawn/update_container_wait
...
Update `run` and `start` to use container wait API
2017-05-18 01:31:40 +02:00
Tibor Vass
63ecaf1d4f
Merge pull request #21 from aduermael/prune-security
...
prune commands : make sure label filters are considered
2017-05-17 16:23:27 -07:00
Josh Hawn
6eca53c7ae
Refactor holdHijackedConnection
...
It has been refactored to a hijackedIOStreamer type which has several
methods which are used to prepare input and handle streaming the input
and output separately.
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2017-05-17 15:18:01 -07:00
Kenfe-Mickaël Laventure
8372ae744e
Merge pull request #92 from vdemeester/add-codecov
...
Add codecov configuration
2017-05-17 13:50:03 -07:00
Daniel Nephin
73ebb07df5
Remove @ from Makefiles.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-05-17 15:56:19 -04:00
Gaetan de Villele
1cc1f54d90
make system prune “--filter” flag available only for docker 17.04 (api v1.28) and newer
...
Signed-off-by: Gaetan de Villele <gdevillele@gmail.com>
2017-05-17 12:36:09 -07:00
John Stephens
b28c4822cc
Merge pull request #90 from dnephin/add-windows-autogen
...
Add windows resources to binary
2017-05-17 11:59:54 -07:00
Josh Hawn
38591f20d0
Update CLI package with containerWait changes
...
The docker/client package was updated to support the updated Container
Wait API functionality. The run and start commands have been updated to
use the new wait features.
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2017-05-17 11:44:54 -07:00
Josh Hawn
4f9ac4899f
Update Vendor
...
Includes updates from docker/docker and imagespec
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2017-05-17 11:44:54 -07:00
Daniel Nephin
3d655c090a
Merge pull request #87 from dnephin/add-watcher
...
Support running unit tests when files are saved
2017-05-17 10:19:10 -04:00
Brian Goff
ae1124abad
Merge pull request #42 from dperny/service-logs-support-details
...
Add support for details on service logs
2017-05-17 10:15:55 -04:00
Sebastiaan van Stijn
b3be2a0316
Merge pull request #96 from nishanttotla/vendor-swarmkit
...
Vendor swarmkit 998a47fb9c2b727c8a48d372309af0b3032051e2
2017-05-17 14:05:19 +02:00
Vincent Demeester
dee8e6ab2d
Merge pull request #95 from dnephin/use-check-redirect
...
Use CheckRedirect so that client behaves the same way with GO 1.8
2017-05-17 10:13:42 +02:00
Drew Erny
ebc0eff478
Add support for details on service logs
...
Adds CLI and client support for details on service logs. CLI component
of moby/moby#32996 .
Signed-off-by: Drew Erny <drew.erny@docker.com>
2017-05-16 16:53:58 -07:00
Sebastiaan van Stijn
5b19f39017
Merge pull request #89 from aaronlehmann/pretty
...
Add --pretty option to "secret inspect" and "config inspect"
2017-05-17 01:38:10 +02:00