netgusto / nodebook

Nodebook - Multi-Lang Web REPL + CLI Code runner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pull from private docker regitry

haimhm opened this issue · 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>