Skip to content

Commit

Permalink
Added docs for docker
Browse files Browse the repository at this point in the history
Signed-off-by: viveksahu26 <vivekkumarsahu650@gmail.com>
  • Loading branch information
viveksahu26 committed Sep 15, 2022
1 parent 5fd95ea commit 3b17c17
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,20 @@ The advantage of saving Short URL and Long URL in the file is to retrieved that
```
{"originalURL":"http://google.com/1346461234567890123456789/get/viveksahu26","shortURL":"http://localhost:8080/xtNFxaBwCG"}
```

## Steps to reproduce Using Docker Image
### Step:1
Docker Image: viveksahu26/shortingurl:v3.0.0

Pull docker image:

`docker pull viveksahu26/shortingurl:v3.0.0`

### Step:2
Run container in non-interactive mode

`docker run -d --name vivek -p 3000:8080 viveksahu26/shortingurl:v3.0.0`

Run container in interactive mode

`docker run --name vivek -p 3000:8080 viveksahu26/shortingurl:v3.0.0`

0 comments on commit 3b17c17

Please sign in to comment.