Skip to content

Commit e3f0d98

Browse files
committed
No more arch restriction on nerdctld
Since the release of version 0.6.0
1 parent c50fe68 commit e3f0d98

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/minikube/cmd/docker-env.go

-4
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ docker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/doc
309309
exit.Message(reason.EnvMultiConflict, `The docker-env command is incompatible with multi-node clusters. Use the 'registry' add-on: https://minikube.sigs.k8s.io/docs/handbook/registry/`)
310310
}
311311
cr := co.Config.KubernetesConfig.ContainerRuntime
312-
// nerdctld supports amd64 and arm64
313312
if err := dockerEnvSupported(cr, driverName); err != nil {
314313
exit.Message(reason.Usage, err.Error())
315314
}
@@ -674,9 +673,6 @@ func tryDockerConnectivity(bin string, ec DockerEnvConfig) ([]byte, error) {
674673
}
675674

676675
func dockerEnvSupported(containerRuntime, driverName string) error {
677-
if runtime.GOARCH != "amd64" && runtime.GOARCH != "arm64" {
678-
return fmt.Errorf("the docker-env command only supports amd64 & arm64 architectures")
679-
}
680676
if containerRuntime != constants.Docker && containerRuntime != constants.Containerd {
681677
return fmt.Errorf("the docker-env command only supports the docker and containerd runtimes")
682678
}

0 commit comments

Comments
 (0)