How to export and import a Docker Image #aws #docker - Docker - Step2

preview_player
Показать описание
Please watch below mention video first ( Docker Installation )

In this video you will see How to export and import Docker Image and how to copy the exported image file into S3 Bucket.

To install docker
sudo yum install docker -y

To start docker service
sudo service docker start

Create a Base Container
docker create --name apache-base -p 80:80 httpd

Inspect Images
docker images -a

Inspect Containers
docker ps -a

Start the Container
docker start apache-base

Modify the Running Container

Create an Image From a Container
docker commit apache_base

Inspect the Images
docker images -a

Export the Image

Import the image
docker import image-tar-file-name
Рекомендации по теме