Skip to content

kabirbaidhya/hello-world-deferred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hello-world-deferred

Hello World Docker Image with delayed output.

Usage

Prints "Hello World!" after 2 seconds.

$ docker run kabirbaidhya/hello-world-deferred

> Hello World!

Defer the output for custom time interval.

$ docker run -e DELAY=10s kabirbaidhya/hello-world-deferred

> Hello World!

Make it verbose.

$ docker run -e DELAY=10s -e VERBOSE=true kabirbaidhya/hello-world-deferred

> Waiting for 5s
> Hello World!

License

Licensed under MIT License.