Moby project package import puzzle


#1

I have downloaded the up to date Moby project and opened the project with IDE IntelliJ IDEA.

And i found that in some package which have the package import of “github.com/docker/docker/../…” ,such as the package container where exists at ./moby-master/container/stream/container.go.

But i checked the in the project vendor folder ,there is no such “github.com/docker/docker/../…” , so my question is : Where can i get the related package ?Should it be in the vendor folder ?

Regards


#2

github.com/docker/docker” is the current import path for everything in
github.com/moby/moby.
We are working to update these import paths, but there’s quite a few things
to consider and we don’t want to break people consuming the repo.


#3

OK. I have checked the dockerfile contained in the project ,and have got the logic you mentioned .

Thank you