zartc (13) [Avatar] Offline
#1
Hello

When trying to build the first docker as described on chapter 1, I get a error from git:

fatal: unable to access 'https://github.com/docker-in-practice/todo.git/': Could not resolve host: github.com


As a complete noob on Docker I was shocked and completely discouraged right from the beginning.

I had to go on google to try to understand the problem (corporate firewall and so on) and maybe find a solution.
I found many resources, none of them understandable for a complete noob!

https://stackoverflow.com/questions/34513175/cant-clone-public-repo-from-within-dockerfile
https://docs.docker.com/engine/userguide/networking/work-with-networks/
https://docs.docker.com/engine/userguide/networking/

I would have liked the book to talk about the possibility of this problem occurrence and the corresponding solution.

Closed the book, and pass my way.