Skip to content

Commit

Permalink
support for windows docker-for-desktop (digitalocean#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktate committed Sep 20, 2022
1 parent 42b836f commit 7be4673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/apps/builder/cnb.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func (b *CNBComponentBuilder) Build(ctx context.Context) (res ComponentBuilderRe

var sourceDockerSock string
switch runtime.GOOS {
case "darwin":
// mac docker-for-desktop includes the raw socket in the VM
case "darwin", "windows":
// mac/windows docker-for-desktop includes the raw socket in the VM
sourceDockerSock = "/var/run/docker.sock.raw"
default:
sourceDockerSock, err = filepath.EvalSymlinks(dockerSocketPath)
Expand Down

0 comments on commit 7be4673

Please sign in to comment.