For security posture, and by design the devbox's do not have root/or internet access. The devbox's should be preloaded with repo's for Learning Labs. Can you the Learning Lab you are following so this can be looked into.
Thanks!
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io