Docker Proxy version 2
Sepertinya untuk latest docker pengaturan proxy untuk bisa menjalankan docker seperti ini, tidak bisa dilakukan alias it's not working. So, kali ini i reconfigure with another setting to work with docker under proxy. I have installed docker dengan versi 18.x, lalu saya mengubah setting proxynya dalam environtment with the bellow method
- Create the directory with command,
- I create file with name http-proxy.conf with command,
- Kemudian masukkan script berikut dalam http-proxy.conf tadi.
Environment="HTTP_PROXY=http://USERNAME:Password@cache.itb.ac.id:8080/"
Environment="HTTPS_PROXY=http://USERNAME:Password@cache.itb.ac.id:8080/"
- Reload daemon with command
- Restart docker with command
- Try to install hello-world
Tampilan Hello World |
References
Comments
Post a Comment