Skip to content

Commit 955912d

Browse files
authored
Support pulling monobase in macOS (#2197)
* We need to specify the platform when pulling
1 parent 2a0763a commit 955912d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/docker/docker_command.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func NewDockerCommand() *DockerCommand {
3333
}
3434

3535
func (c *DockerCommand) Pull(image string) error {
36-
_, err := c.exec("pull", false, image)
36+
_, err := c.exec("pull", false, image, "--platform", "linux/amd64")
3737
return err
3838
}
3939

0 commit comments

Comments
 (0)