Docker Push and Registries
Tag, push, and pull images across Docker Hub and private registries.
- docker push
- docker pull
- docker tag
- private registry
- multi-arch
Docker Push and Registries
Tag, push, and pull images across Docker Hub and private registries.
Commands
| Command | What it does |
|---|---|
docker tag app:v1 registry.example.com/team/app:v1 | Retag for a registry |
docker push registry.example.com/team/app:v1 | Upload the image |
docker pull registry.example.com/team/app:v1 | Download on the server |
docker logout | Remove stored registry credentials |
docker manifest inspect nginx:1.27 | Check multi-arch support |
Example
docker tag app:v1 registry.example.com/team/app:v1.3
docker push registry.example.com/team/app:v1.3
docker pull registry.example.com/team/app:v1.3
FAQ
Do I need :latest too?
Push both the version tag and latest on release so quick experiments still work while prod pins versions.
Why is push slow?
Each layer uploads once; squash RUN steps and share base images across services to minimize new layers.
Preguntas frecuentes
Do I need :latest too?
Push both the version tag and latest on release so quick experiments still work while prod pins versions.
Why is push slow?
Each layer uploads once; squash RUN steps and share base images across services to minimize new layers.
Docker
Docker Install and Setup
Verify the Docker engine, configure context, and check versions.
Docker Images
Pull, list, tag, inspect, and remove images confidently.
Docker Containers
Run, list, stop, and clean up containers in daily work.
Docker Run Options
The flags that matter: detach, ports, env, volumes, limits.