Docker on your local machine would only be a precursor to posting on a public Docker service, unless the machine you are installing Docker on is accessible by others.
Another option is to have Docker installed on your machine. It works exactly like the previous case, except you are managing the Docker image space.