Open brucehoff opened 5 years ago
I'm all fine with this but then wouldn't the docker container used by toil need to be private as well? If someone could access this docker container, they could potentially access all docker containers that this user has access to.
@thomasyu888 When you say, "the docker container used by toil" do you instead mean "the docker container containing toil" (i.e. the image created by the Dockerfile, above)? If so, I'm honestly not sure what the Dockerfile above is doing. Is it placing plain text credentials into the image? If so, then I agree it's a security hole and may not be what we want to recommend.
Thanks for the clarification. Yes that's what I mean.
I think they are storing credentials in the config.json which would live in the docker container. I'm also confused because wouldn't the solution be to log into the docker registry that you want to interact with on your host machine?
wouldn't the solution be to log into the docker registry that you want to interact with on your host machine?
Are you asking whether it's the docker daemon on the host machine that has to docker pull
from the registry and hence has to have the registry credentials? If so, I believe the answer is 'yes'.
Thanks again for the clarification. That is indeed what I mean.
This thread discusses a solution for Toil: https://gitter.im/bd2k-genomics-toil/Lobby?at=5c59f014975714406b9da072