Docker is a tool in the form of a user interface that allows you to comfortably work with containerized applications. DockerHub is a container registry. It stores container images and it's available online. You can build container images by yourself or use existing ones. You can push and pull images to and from DockerHub. You can also create and use your own image repositories on private servers or cloud storages.