我仍在学习如何运行和使用Docker,请考虑以下想法:
# Run the registry on the server, allow only localhost connectiondocker run -p 127.0.0.1:5000:5000 registry# On the client, setup ssh tunnelingssh -N -L 5000:localhost:5000 user@server
然后可以在localhost:5000上访问注册表,通过可能已经知道和使用的ssh进行身份验证。
资料来源:
- https://blog.precentric.de/zh/2014/02/docker-registry-run-private-docker-image-repository/
- https://docs.docker.com/userguide/dockerlinks/



