HUB
Sign inSign up
example logo

slateci/example

By slateci

•Updated almost 9 years ago

A simple container to show how to pass configuration and storage to an image.

Image
0

497

slateci/example repository overview

⁠slateci/example container image

A simple Docker⁠ container image that shows how to pass configuration, scratch storage and permanent storage.

⁠Usage

To run:

docker run slateci/example 

You can pass the configuration parameters using environment variables:

docker run -e "CONFIGURATION_PARAMETER_1=customValue1" -v /tmp/data:/var/example/data slateci/example

You can pass the configuration file using volumes:

docker run -v /tmp/example.conf:/etc/example/example.conf slateci/example

You can pass persistent storage using volumes:

docker run -v /tmp/data:/var/example/data slateci/example
Tag summary
Recent tags
Content type
Image
Digest
Size
2 MB
Last updated
almost 9 years ago
docker pull slateci/example:latest