Docker Community Forums

Share and learn in the Docker community.

Which go file executes when docker starts?


(Suryakantgarg1) #1

I’ve just started looking at docker source code. Could someone please help me regarding which docker.go file is called when the first docker starts ?

/cmd/docker/docker.go

or

/cmd/dockerd/docker.go

or is there any other file ?

Thanks.