[Starlingx-discuss] Docker Proxy Setup

Lin, Shuicheng shuicheng.lin at intel.com
Tue Mar 31 00:38:07 UTC 2020


Hi Saul,
It seems the cmd has been updated.
You could use "system service-parameter-list" to get the list first.
Then you could modify it like below cmd:
system service-parameter-modify docker proxy http_proxy=HTTP_PROXY

In my test, the modification will not be applied until you lock&unlock controller.
You could find there is "Configuration is out-of-date" message with "fm alarm-list".


Best Regards
Shuicheng

-----Original Message-----
From: Saul Wold <sgw at linux.intel.com> 
Sent: Tuesday, March 31, 2020 12:01 AM
To: starlingx-discuss at lists.starlingx.io
Subject: [Starlingx-discuss] Docker Proxy Setup


Hi There,

I am reviewing the Docker Proxy Configuration page [0]. I tried to run the service-parameter-modify and get the following error message:

[sysadmin at controller-0 ~(keystone_admin)]$ system service-parameter-modify platform docker http_proxy http://my.proxy.com:1080 Service Parameter not found: service platform, section docker, name http_proxy Service Parameter not found: service platform, section docker, name
http://my.proxy.com:1080

I also tried using name=value:
[sysadmin at controller-0 ~(keystone_admin)]$ system service-parameter-modify platform docker http_proxy=http://my.proxy.com:1080
Service Parameter not found: service platform, section docker, name http_proxy

I looked at service-parameter-list and there is no docker section as part of the platform service, so I tried to use service-parameter-add and got the following error:

[sysadmin at controller-0 ~(keystone_admin)]$ system service-parameter-add platform docker http_proxy=http://my.proxy.com:1080
Invalid service section docker.

It seems that the Docker Proxy Config docs page it out of date and/or not working correctly, can someone let me know what I am doing wrong?

[0] https://docs.starlingx.io/configuration/docker_proxy_config.html

Thanks
   Sau!

_______________________________________________
Starlingx-discuss mailing list
Starlingx-discuss at lists.starlingx.io
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss


More information about the Starlingx-discuss mailing list