You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// for the sake of docker-env command, start nerdctl and nerdctld
318
-
ifcr==constants.Containerd {
319
-
out.WarningT("Using the docker-env command with the containerd runtime is a highly experimental feature, please provide feedback or contribute to make it better")
317
+
// for the sake of docker-env command, start nerdctl and nerdctld (or the podman system service, "podmand")
318
+
ifcr==constants.Containerd||cr==constants.CRIO {
319
+
ifcr==constants.Containerd {
320
+
out.WarningT("Using the docker-env command with the containerd runtime is a highly experimental feature, please provide feedback or contribute to make it better")
321
+
322
+
startNerdctld(options)
323
+
} elseifcr==constants.CRIO {
324
+
out.WarningT("Using the docker-env command with the cri-o runtime is a highly experimental feature, please provide feedback or contribute to make it better")
320
325
321
-
startNerdctld(options)
326
+
startPodmand(options)
327
+
}
322
328
323
-
// docker-env on containerd depends on nerdctld (https://github.com/afbjorklund/nerdctld) as "docker" daeomn
324
-
// and nerdctld daemon must be used with ssh connection (it is set in kicbase image's Dockerfile)
329
+
// docker-env on containerd depends on nerdctld (https://github.com/afbjorklund/nerdctld) as "docker" daemon
330
+
// and nerdctld (or podman) daemon must be used with ssh connection (it is set in kicbase image's Dockerfile)
325
331
// so directly set --ssh-host --ssh-add to true, even user didn't specify them
exit.Error(reason.StartPodmand, fmt.Sprintf("Failed to enable podman.socket: %s", rest.Output()), err)
2111
+
}
2112
+
2113
+
// set up environment variable on remote machine. docker client uses 'non-login & non-interactive shell' therefore the only way is to modify .bashrc file of user 'docker'
0 commit comments