cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1069
Views
0
Helpful
6
Replies

Unable to build docker file in Cisco Dev Box

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.

6 Replies 6

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

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

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.

 

 

 

@kcapoor can you ping with IP, is this just DNS not resolving?

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

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

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 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: