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> |
||
|---|---|---|
| .. | ||
| hack | ||
| README.md | ||
| daemon.go | ||
| daemon_freebsd.go | ||
| daemon_linux.go | ||
| daemon_solaris.go | ||
| daemon_test.go | ||
| daemon_unix.go | ||
| daemon_unix_test.go | ||
| daemon_windows.go | ||
| docker.go | ||
| docker_windows.go | ||
| metrics.go | ||
| service_unsupported.go | ||
| service_windows.go | ||
README.md
docker.go contains Docker daemon's main function.
This file provides first line CLI argument parsing and environment variable setting.