Hands-on task
Images: tags and removal
Several versions of the shop/app application image have piled up on the server: 1.0, 1.1 and 2.0. The app container runs from 2.0.
- Remove the images of versions
1.0and1.1— they're no longer needed. - Give the
shop/app:2.0image one more name —shop/app:stable.
The 2.0 image and the app container must stay.
- docker images
- docker rmi
- docker tag