school
Get to know the following commands. Play around with your Docker environment and try out all the commands.
# Tag an image
Create an image and give a name to it. Name is a group of images and tag further specifies the application.
For example:
The tag latest will be added as a default if you don’t specify a tag yourself.
# Give a container a name
-p … Port forwarding -d … detached –rm remove the container after it is stopped –name give the container a name
# Managing images and containers