1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cmd/dockerd
Andrea Luzzardi 0d94260458 router: Return explicit error rather than 404 for experimental.
Instead of not adding experimental routes at all, fail with an explicit
message if the daemon is not running in experimental mode.

Added the `router.Experimental` which does this automatically.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
(cherry picked from commit 3976a33c1a)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-11-19 23:47:12 -08:00
..
hack
daemon.go router: Return explicit error rather than 404 for experimental. 2016-11-19 23:47:12 -08:00
daemon_freebsd.go
daemon_linux.go
daemon_solaris.go Windows: create daemon root with ACL 2016-11-10 17:51:28 -08:00
daemon_test.go
daemon_unix.go Windows: create daemon root with ACL 2016-11-10 17:51:28 -08:00
daemon_unix_test.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
daemon_windows.go Windows: create daemon root with ACL 2016-11-10 17:51:28 -08:00
docker.go Windows: create daemon root with ACL 2016-11-10 17:51:28 -08:00
docker_windows.go
metrics.go Add basic prometheus support 2016-10-27 10:34:38 -07:00
README.md
service_unsupported.go
service_windows.go Windows: Set service recovery options 2016-10-24 16:24:27 -07:00

docker.go contains Docker daemon's main function.

This file provides first line CLI argument parsing and environment variable setting.