Docker
/Beginner
Docker Hub
Definition
The default, official public cloud registry maintained by Docker, Inc. It hosts millions of pre-built Docker images that can be pulled and used by anyone.
Explain Like I'm New
The App Store for Docker. If you need a database, you don't build it from scratch. You go to Docker Hub, search for 'PostgreSQL', and download the official pre-built image.
Real World Example
When you run `docker run ubuntu`, your computer connects to Docker Hub automatically, searches for the 'ubuntu' repository, and downloads the image layers to your machine.
Common Use Cases
- •Finding Base Images
- •Sharing open-source software
Interview Questions
basic
- Do you have to pay money to pull official images from Docker Hub?
intermediate
- What is an 'Official Image' on Docker Hub?