4

I'm studying about Docker.

As I know, there are difference between Docker Container and OS in booting process.(Booting process of Docker container doesn't contain kernel execution)

I think this is how the Docker container starts.

  1. Use libcontainer to call directly api such as cgroup, namespace, etc.
  2. Execution of Linux container features
  3. Creating RW Layers
  4. Integration of image layers and RW layers with unionFS
  5. Container connection via shell

However, I can't find more detail process. There are not any official documents or accurate reference that explain exactly this process.

Please let me know if there are any sites or documents that have organized the Docker start(boot) process.

Also, if you know about this, please advise.

서형준
  • 54
  • 4
  • 1
    Why not just read https://github.com/moby/moby/blob/master/daemon/create.go#L30 and https://github.com/moby/moby/blob/master/daemon/start.go#L18? – Danila Kiver Aug 14 '18 at 10:31
  • 1
    There's some details that I've found over here: http://docker-saigon.github.io/post/Docker-Internals/ but it doesn't directly address the question. – Caramiriel Aug 14 '18 at 10:32
  • Thank you for your question. But I know that cgroups, namespaces, and other technologies are being used. However, I wonder how each of these functions is executed in order and creates a container. – 서형준 Aug 30 '18 at 04:26

0 Answers0