05-04-2022 06:59 AM
I have connected to Cisco dev box (10.10.20.50 server) using WinSCP. Inside the dev box, I have created a folder 'App' and placed the same files in the folder as demonstrated in the lab - https://developer.cisco.com/learning/lab/iot-iox-app-docker/step/1. The folder and files within it have full permission as per screenshot attached (App Folder.JPG).
However, when I try to build a docker image for the dockerfile and code present in the 'App' folder I get the attached error (Docker Build Error.JPG).
Can you please let me know whether docker build is supported in the dev box ? Thank you.
05-04-2022 09:42 AM
@divyansmahansaria this might need to be run as root? However reading the learning lab, i think you need to build the file on your local machine.
05-10-2022 01:29 AM
Hi @bigevilbeard ,
i tried the same lab on my mac and got same error. seem like the devbox provided doesn't have correct DNS or IP to name mapping is not working. did some direct pings and result below:
[developer@devbox karan]$ ping www.google.com
ping: www.google.com: Temporary failure in name resolution
[developer@devbox karan]$ ping https://registry-1.docker.io/v2/
ping: https://registry-1.docker.io/v2/: Temporary failure in name resolution
i cannot add DNS myself due to account restriction. can someone in lab operation team look into this and provide a resolution.
05-10-2022 02:47 AM
@kcapoor can you ping with IP, is this just DNS not resolving?
05-10-2022 03:08 AM
direct ping also not allowed
developer@devbox ~]$ ping 142.250.196.4
PING 142.250.196.4 (142.250.196.4) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitte
05-10-2022 03:37 AM
Hello @kcapoor i would suggest opening a support ticket with the engineering team to look at this - you can do this HERE Typically though the sandboxes do not have internet access for security posture, but if the learning lab you are following suggests this is not the case something is amiss
05-17-2022 07:54 AM
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