netgusto/nodebook

pull from private docker regitry

haimhm opened this issue · 2 comments

When running with --docker please allow configuration for different docker registry

Hey @haimhm, I'm not familiar with the selection of a different registry on docker. Could you explain how you'd do it on the command line with the docker client, for instance?

Let's say your private registry is in my-registry.com, and you want to pull the busybox image.
The docker pull command should be: docker pull my-registry.com/busybox:latest
instead of docker pull busybox:latest.
One more thing, it should support login too: docker login my-registry.com -u <user name> -p <password>