Docker 29 cheatsheet
Docker 29: Images
6 common Docker 29 tasks.
Build an image
Build an image from the Dockerfile in the current directory and tag it.
docker build -t myapp:1.0 .
Tag an image
Give an existing image another name, for example before pushing.
docker tag myapp:1.0 myuser/myapp:1.0
Remove an image
Delete a local image. Docker refuses if a container still uses it.
docker image rm myapp:1.0