mirror of
https://github.com/moby/moby.git
synced 2026-07-12 10:35:14 +00:00
This function had to be called both in the daemon startup, as well as the CLI startup. Which, in case of the cli, meant that the registry package became a required dependency for all CLI-plugins. Make the package itself aware of situations where it's running with rootlessKit enabled. Altogether we should get rid of this package-level variable, and instead store this in our configuration, and pass through where it's used. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
docker.go contains Docker daemon's main function.
This file provides first line CLI argument parsing and environment variable setting.