Docker Container

Creating a Docker File

Create a Html file

Create a Dockerfile

Edit the Dockerfile

A Dockerfile is a text file with instructions to build a Docker image

When we run a Dockerfile, Docker image is created When we run the docker image, containers are created

Start docker & Build docker image from Dockerfile

The folder should have the Dockerfile

List docker images

Run docker container from the image

Access the app

Last updated

Was this helpful?