docker has two distinct functions. It is used for starting the Docker daemon and also to command it.