Don't know if it's ok to post here, new to docker and using it to build a simple app engine, so i want to look inside docker to see what's going on.
forked the source code,but you know, it's a little harder for me to read it directly,because have no idea on the whole map of it's execution flow,so i want to ask for help,how to read the source code of docker?whether anyone had write some post to explain on it?
background info: know how to use docker ,familary with it's commands
thanks for your help:)
Docker is written in go language. The two fundamental principles you need to understand are the cgroup and namespacing capabilities of the Linux kernel.
Have a look at the docker's github source code repository and contributing to docker guide. Also, you can check this book, it explains how to extend docker.
For the source code, you can start from docker.go file.
Hope this will help.
In addition to existing comments and useful information contained in them, you could also refer to Docker Code Walk resource.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With