Skip to content

Commit

Permalink
adds -d
Browse files Browse the repository at this point in the history
 thanks to moby/moby#2838
  • Loading branch information
Amdingo committed Mar 14, 2019
1 parent 53ea6f2 commit a49965b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

**run the container, binding container port 5000 to your preferred local port:**

`docker run -p 5000:5000 fleapday`
`docker run -p 5000:5000 -d fleapday`

Access the running container on http://127.0.0.1:5000 (or `docker-machine ip <machine>`)

Expand All @@ -31,4 +31,4 @@ valid routes include:
* `/ping`: health check
* `/is-leap-year/<year>`: will verify that the provided year is in fact a leap year
* `/get-all-leap-years`: returns a list of leap years between 1752 and 2019
* `/get-leap-day/<year>`: checks if the provided `<year>` is a leap year, if so returns a human readable day of the week for `02-29-<year>`
* `/get-leap-day/<year>`: checks if the provided `<year>` is a leap year, if so returns a human readable day of the week for `02-29-<year>`

0 comments on commit a49965b

Please sign in to comment.