Commit Graph

9 Commits

Author SHA1 Message Date
3773be609d Raise a more relevant error when dockerd is not available on the platform.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 765ab2b692
Component: cli
2016-05-02 11:59:25 -04:00
55cad02477 When exec'ing dockerd, look for it in the same directory as the docker binary first, before checking path.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 625263e2c7
Component: cli
2016-05-02 11:52:50 -04:00
ea37da58de Merge pull request #22372 from dnephin/cli_cleanup
Reorganize client and cli packages
Upstream-commit: 5de3b105a8
Component: cli
2016-04-29 17:31:39 -07:00
5df7e1fa55 Merge pull request #22340 from Microsoft/jstarks/split-service
Windows: Support running dockerd as a service
Upstream-commit: 320dbb2c30
Component: cli
2016-04-29 10:47:20 -07:00
a190e4c730 Remove reflection on CLI init
before:
```
$ time docker --help
real  0m0.177s
user  0m0.000s
sys 0m0.040s
```

after:
```
$ time docker --help
real  0m0.010s
user  0m0.000s
sys 0m0.000s
```

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: eb35552fb3
Component: cli
2016-04-29 11:57:46 -04:00
9d807c4424 Consolidate the files in client/
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: ec6cc96fa1
Component: cli
2016-04-27 14:53:36 -04:00
9e49ad8267 Cleanup the structure of the cli package.
Move all flags into cli/flags
Move usage help into cli/usage.go

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 315e242b9c
Component: cli
2016-04-27 14:25:47 -04:00
73fd4d25b9 Windows: Support running dockerd as a service
This adds support for Windows dockerd to run as a Windows service, managed
by the service control manager. The log is written to the Windows event
log (and can be viewed in the event viewer or in PowerShell). If there is
a Go panic, the stack is written to a file panic.log in the Docker root.

Signed-off-by: John Starks <jostarks@microsoft.com>
Upstream-commit: 421e366d8d
Component: cli
2016-04-26 14:04:47 -07:00
977a19e21d Make dockerd debuggable
Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: c6919a6e79
Component: cli
2016-04-26 09:35:22 -07:00