use /usr/src/moby instead, and no GOPATH

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2026-02-12 15:58:11 +01:00
parent 4b7a7687a5
commit ffd43fa27a
12 changed files with 44 additions and 45 deletions

View File

@@ -100,8 +100,8 @@ To build Moby, run:
Copy out the resulting Windows Moby Engine binary to `dockerd.exe` in the
current directory:
docker cp binaries:C:\gopath\src\github.com\moby\moby\v2\bundles\docker.exe docker.exe
docker cp binaries:C:\gopath\src\github.com\moby\moby\v2\bundles\dockerd.exe dockerd.exe
docker cp binaries:C:\usr\src\moby\bundles\docker.exe docker.exe
docker cp binaries:C:\usr\src\moby\bundles\dockerd.exe dockerd.exe
To test it, stop the system Docker daemon and start the one you just built:
@@ -110,7 +110,7 @@ To test it, stop the system Docker daemon and start the one you just built:
The other make targets work too, to run unit tests try:
docker run --rm docker-builder sh -c 'cd /c/gopath/src/github.com/moby/moby/v2; hack/make.sh test-unit'
docker run --rm docker-builder sh -c 'cd /c/usr/src/moby; hack/make.sh test-unit'
### 6. Remove the interim binaries container