Run a Docker Container

Author:

Run a Docker Container

Task :

Nautilus DevOps team is testing some applications deployment on some of the application servers. They need to deploy a nginx container on Application Server 2. Please complete the task as per details given below:

On Application Server 2 create a container named nginx_2 using image nginx with alpine tag and make sure container is in running state.

Solutions :

$ ssh steve@stapp02
$ sudo su
# docker run --name nginx_2 -d nginx:alpine

Leave a Reply

Your email address will not be published. Required fields are marked *