Parameterized image to demonstrate environment variables and parameterized containers
342
A shell script was added to the entrypoint. Here are some commands to demonstrate environment variables, their state and how containers can be parameterized:
docker run -i case docker run -i -e STR="My String" case docker run -i -e STR="My String" -e TO_CASE=camel case docker run -i -e STR="My String" -e TO_CASE=upper case docker run -i -e STR="My String" -e TO_CASE=lower case
Parameters are a great way of configuring containers, easing customization.
Content type
Image
Digest
Size
49 MB
Last updated
almost 10 years ago
docker pull skakelaar/parameterized