docker / cri-o behind http proxy

Jbn1233
Apr 27, 2020

--

Just insert proxy setting into docker / cri-o systemd config.

Environment="HTTP_PROXY=http://proxy.home.net:80/" "HTTPS_PROXY=http://proxy.home.net:80/" "NO_PROXY=north.home.net,.home.net,localhost,127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"

edit: /usr/lib/systemd/system/crio.service

at [Service] section.

And restart service.

Done.

--

--

Jbn1233
Jbn1233

Written by Jbn1233

Very short and simple notes for CKA/SRE and may not works on your environment | jbn1233@gmail.com | Bangkok, Thailand |

Responses (1)