Running your First Docker Container

preview_player
Показать описание
In this video you will learn to launch your first container with Docker. We’re going to use the docker run command to create a container. You will also learn how to work with your newly created container in interactive mode.

Commands used:

Run a container using ubuntu image in interactive mode:
$ docker run -it ubuntu /bin/bash

Check for running container(s):
$ docker ps

Check for all containers ( stopped and running) on your local host:
$ docker ps -a

Check for images present your local host:
$ docker image ls
Рекомендации по теме