Mastering Docker Images: Key Commands #devops #shorts

preview_player
Показать описание
Follow us on

$ docker build -t [image_name] .
Builds a Docker image from a Dockerfile.

$ docker pull [image_name]
Pulls an image or a repository from a registry.

$ docker push [username]/[image_name]
Pushes an image or a repository to a registry.

$ docker images
Lists all available Docker images on the local machine.

$ docker rmi [image_name]
Removes one or more Docker images.

$ docker image prune
Removes unused Docker images.

$ docker images
Lists all available Docker images on the local machine.
Рекомендации по теме