09-03-2018 07:05 AM
I am able to pull the base images for ie4k but the opkg update is failing with below error:
iotg-u@iotg-u:~/sdk/capp$ sudo docker build -t capp:1.0 .
Sending build context to Docker daemon 4.096kB
Step 1/6 : FROM devhub-docker.cisco.com/iox-docker/ie4k/base-rootfs:latest as builder
---> 162e8a8f6a82
Step 2/6 : RUN sed -i 's/\(option http_auth iox_docker.gen:\).*/\AKCp5bAif2TtEvpouKmHpjWk5Jc94TXHv6vbD5QhqVuRutE16ZJXKSz2eSvrZUrceL4Ve6eF1/' /etc/opkg/opkg.conf
---> Using cache
---> 009aa38ef927
Step 3/6 : RUN opkg update
---> Running in 518e90a9e5a8
Collected errors:
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg/yocto-1.7.2/ie4k/464/Packages.gz headers: Couldn't connect to server.
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg/yocto-1.7.2/ie4k/ie4k_lxc/Packages.gz headers: Couldn't connect to server.
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg/yocto-1.7.2/all/Packages.gz headers: Couldn't connect to server.
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg-alpha/yocto-1.7.2/ie4k/464/Packages.gz headers: Couldn't connect to server.
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg-alpha/yocto-1.7.2/ie4k/ie4k_lxc/Packages.gz headers: Couldn't connect to server.
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg-alpha/yocto-1.7.2/all/Packages.gz headers: Couldn't connect to server.
Checks from my side:
1. config.json is correctly updated with proxy settings.2
2. Even the Docker daemon is started with dns option but no luck.
09-11-2018 08:19 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide