Configuration container for Docker & Rancher
826
This container is used for providing configuration files generated with confd for other containers via volumes.
This image uses Rancher's Metadata Service as a backend for confd. When deployed on Rancher it will properly use Ranchers Metadata service, if it is unavailable due to deployment elsewhere (like during development) it will start its own metadata service based on a release of Rancher Metadata.
Both confd and Rancher metadata run as non-root user inside the container.
root.Dockerfile that looks like this:FROM weahead/conf:3.0.3
VOLUME /usr/local/etc/<name>
Make sure your template resources are output to the volume location specified in your Dockerfile.
Build it.
/answers.yml inside the
container.See example: answers.example.yml
The above Dockerfile can be made even simpler by using Dockers ONBUILD and
ARG instructions together, leaving just the FROM instruction. Unfortunately
the Docker Hub is still running 1.8, which does not support the ARG
instruction. There is an issue tracking the support for 1.9 features on Docker
Hub, #460
Content type
Image
Digest
Size
16.5 MB
Last updated
almost 9 years ago
docker pull weahead/conf