#docker - March 2019

dockerArchived
22 messages

All things docker
Archive: https://archive.sweetops.com/docker/

Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
I had naively tried to implement this 4 years ago using btsync and the docker v1 registry
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
lets just say, it didn’t work 😃 (at all!)
rohit
rohitover 7 years ago
Hi. I am new to docker, we do have java web applications(java+tomcat) running nginx as reverseproxy. I am not sure how to run both tomcat and nginx in a same container, can anyone Please help me out ?
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
@rohit are you using kubernetes?
rohit
rohitover 7 years ago(edited)
i am just at the beginning stage but eventually would like to use k8s maybe EKS as we run our infrastructure in AWS
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
rohit
rohitover 7 years ago
This is very helpful, will go through these articles
rohit
rohitover 7 years ago
and how do you pass secrets to docker containers ?
rohit
rohitover 7 years ago
Let's say if i have a properties file and the value needs to be populated at run time, how would i do that in containers world ?
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
we use https://github.com/segmentio/chamber to store secrets to SSM Parameter Store. Then, for example when deploying from a CI/CD pipeline, we use chamber to read the secrets from SSM and populate ENV vars with the secrets. Then we use helmfile to deploy a Kubernetes app that reads the ENV vars, e.g. https://github.com/cloudposse/helmfiles/blob/master/releases/datadog.yaml#L39
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
rohit
rohitover 7 years ago
@Andriy Knysh (Cloud Posse) thanks for pointing me to the right tools. To begin with, if i just want to pass secrets to my docker container, how do i achieve that ?
rohit
rohitover 7 years ago
@Andriy Knysh (Cloud Posse) thank you very much. I am still not able to connect all the dots
rohit
rohitover 7 years ago
maybe because i am new to this
Gonzalo Peci
Gonzalo Peciover 7 years ago
@rohit can I help you?
Gonzalo Peci
Gonzalo Peciover 7 years ago
what part are you struggling with?
tamsky
tamskyover 7 years ago