vmware-archive / vctl-docs

VMware vctl Docs
MIT License
125 stars 15 forks source link

Mirror and proxy support? #16

Closed clarkttfu closed 4 years ago

clarkttfu commented 4 years ago

Hi there,

Is there anyway to support a docker hub mirror? Is there an option to config proxy server for the engine?

Thanks, Clark

jeffwubj commented 4 years ago

Hey Clark, That's not available at the moment, planed it in the backlog

xisheng commented 4 years ago

Hi, Clark Instead of configuring the docker hub mirror in configuration files, you can use the FULL URL directly to pull images from the specified docker hub mirror. eg: docker.io.mirror/library/xxxx When pulling images, also you could set the proxy in the session where "vctl pull" commands will be executed. eg: export https_proxy=http://x.y.z:3128, then execute the vctl pull xxxx.

clarkttfu commented 4 years ago

@xisheng works very well, thanks!