3 ms·
Although I used puppet in my example to run and manage docker containers, you don't have to. ;) Here's the raw run command with the environment parameters pass
by carrja99 13y ago
Although I used puppet in my example to run and manage docker containers, you don't have to. ;)
Here's the raw run command with the environment parameters passed in:
docker run -e SETTINGS_FLAVOR=prod -e AWS_ACCESS_KEY_ID=$aws_access_key -e AWS_SECRET_KEY=$aws_secret_key -e S3_BUCKET=$s3_bucket -e WORKER_SECRET_KEY=$worker_key -p 5000:5000 -m 0 samalba/docker-registry
Just slap that badboy in your favorite supervisory process manager (or even just run it) and you're good to go.