Sign inSign up

ensignprojects/dummy-container

By ensignprojects

Updated over 9 years ago

This dummy-container can be used as a stub for pipelines with docker containers.

Image
0

1.9K

ensignprojects/dummy-container repository overview

dummy-container

The dummy-container project aims to create lightweight containers to fail or to succeed. It is possible to set a message.

This dummy-container can be used as a stub for pipelines with docker containers.

how to run

To create a container which always succeed and prints "Custom message":

docker run -it -e MESSAGE="Custom message" ensignprojects/dummy-container

To create a container which returns an exit code and don't print anything:

docker run -it -e ERROR_CODE="12" ensignprojects/dummy-container

Tag summary

Content type

Image

Digest

Size

556.6 kB

Last updated

over 9 years ago

docker pull ensignprojects/dummy-container