Skip to content

Commit

Permalink
Welcome to Stack Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalyan Reddy Daida authored and Kalyan Reddy Daida committed Dec 4, 2019
1 parent 0da490b commit ba2f79e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 00-Docker-Fundamentals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
## Flow-1: Pull existing Docker Image from Docker Hub and Run it as a Container

## Flow-2: Create a new Docker Image, Run as Container and Push to Docker Hub
- Run the base Nginx container
### Run the base Nginx container
- Access the URL http://localhost
```
docker run --name mynginxdefault -p 80:80 -d nginx
docker ps
```

- Create Dockerfile and copy our customized index.html
### Create Dockerfile and copy our customized index.html
```
FROM nginx
COPY index.html /usr/share/nginx/html
Expand Down

0 comments on commit ba2f79e

Please sign in to comment.