-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d31b10
commit cdec386
Showing
1 changed file
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). | ||
|