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.
@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.
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.
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