Skip to content

Simple container that exit's based on the given exit code through environmental varaibles

Notifications You must be signed in to change notification settings

stakater-archive/dockerfile-exit-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

dockerfile-exit-container

Simple container that exit's based on the given exit code through environmental varaibles.

It is used for testing services that depend on a container's exit code.

Usage: Default exit code = 0

docker run -i stakater/exit-container
docker run -d -e EXIT_CODE=1 stakater/exit-container

About

Simple container that exit's based on the given exit code through environmental varaibles

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages