HUB
Sign inSign up
entrypoint-example logo

cmosetick/entrypoint-example

By cmosetick

•Updated almost 10 years ago

For docker entrypoint and cmd training. https://github.com/cmosetick/entrypoint-example

Image
0

1.1K

cmosetick/entrypoint-example repository overview

⁠entrypoint-example

Hello World training example, demonstrating Docker ENTRYPOINT and CMD.

basic usage:

docker pull cmosetick/entrypoint-example
docker run --rm cmosetick/entrypoint-example

optional building on your own system:

git clone https://github.com/cmosetick/entrypoint-example.git
docker build --no-cache -t cmosetick/entrypoint-example .

Training Lessons:

  • What are some methods that you can make a container spawned from this image (Dockerfile) display the actual uptime of the system?

  • Describe two methods to run debug-mode.sh and what happens when you run it?

  • How could you change this Dockerfile to make this image more flexible for debug purposes?

Tag summary
Recent tags
Content type
Image
Digest
Size
48 MB
Last updated
almost 10 years ago
docker pull cmosetick/entrypoint-example:latest