Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
kabirbaidhya committed Mar 27, 2019
1 parent 4d31b10 commit cdec386
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
# hello-world-deferred
Deferred Hello World Docker Image
Hello World Docker Image with delayed output.

## Usage
Prints "Hello World!" after 2 seconds.
```sh
$ docker run kabirbaidhya/hello-world-deferred

> Hello World!
```

Defer the output for custom time interval.
```sh
$ docker run -e DELAY=10s kabirbaidhya/hello-world-deferred

> Hello World!
```

Make it verbose.
```sh
$ docker run -e DELAY=10s -e VERBOSE=true kabirbaidhya/hello-world-deferred

> Waiting for 5s
> Hello World!
```

## License
Licensed under [MIT License](LICENSE).

0 comments on commit cdec386

Please sign in to comment.