Docker image commands

//Build an image fromDockerfile and tag it docker

build -t appimage:1.1

//List all images

docker image ls

//Delete an image

docker image rm appimage:1.1

// to get rootprivilege use’sudo’ before above commands

e. g. sudo docker image ls

#shorts