Docker Build | TutorialsHub
tutorialshub.org › docker-buildTo use the docker build command below are the steps: 1. Create Dockerfile. 2. Use docker build command to create the image. Dockerfile example: #This is a sample Image FROM ubuntu MAINTAINER easywhatis@gmail.com RUN apt-get update RUN apt-get install curl wget RUN apt-get install -y nginx CMD ["echo", "Image created successfully"] Build the ...