100-Days-Of-DevOps-Challenge-KodeKloud

Run a NGINX Container on Docker

The Nautilus DevOps team is conducting application deployment tests on selected application servers. They require a nginx container deployment on Application Server 1. Complete the task with the following instructions:

On Application Server 1 create a container named nginx_1 using the nginx image with the alpine tag. Ensure container is in a running state.

Steps

Lets run the following command to run a docker container:

sudo docker run -d --name nginx_1 -p 80:80 nginx:alpine

Good to Know?

Docker Container Basics

Docker Run Options

NGINX Alpine

Container Management