-
Notifications
You must be signed in to change notification settings - Fork 731
Closed
Labels
bugSomething isn't workingSomething isn't workingplatform/Windows/Non-WSL2Microsoft Windows (non-WSL2)Microsoft Windows (non-WSL2)
Description
Description
I am wondering what is the source of this difference below?
I see a related discussion:
containerd --version
containerd github.com/containerd/containerd v1.7.5 fe457eb99ac0e27b3ce638175ef8e68a7d2bc373nerdctl version
time="2023-09-09T13:18:19-07:00" level=warning msg="unable to determine buildctl version: exec: \"buildctl\": executable file not found in %PATH%"
time="2023-09-09T13:18:19-07:00" level=warning msg="unable to determine runc version: exec: \"runc\": executable file not found in %PATH%"
Client:
Version: v1.5.0
OS/Arch: windows/amd64
Git commit: b33a58f288bc42351404a016e694190b897cd252
buildctl:
Version:
Server:
containerd:
Version: v1.7.5
GitCommit: fe457eb99ac0e27b3ce638175ef8e68a7d2bc373
runc:
Version:cni version 0.3.0Steps to reproduce the issue
nerdctl run --rm mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 cmd /c "echo %path%"
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bindocker run --rm mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 cmd /c "echo %path%"
> C:\Windows\system32;C:\Windows;;C:\Program Files\PowerShell;Describe the results you received and expected
Docker shows the correct windows path, however nerdctl shows the linux path ?
What version of nerdctl are you using?
Version: v1.7.5
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
nerdctl info
Client:
Namespace: default
Debug Mode: false
Server:
Server Version: v1.7.5
Storage Driver: windows
Logging Driver: json-file
Cgroup Driver:
Cgroup Version:
Plugins:
Log: fluentd journald json-file syslog
Storage: windows-lcow windows
Security Options:
Kernel Version:
Operating System:
OSType: windows
Architecture:
CPUs: 0
Total Memory: 0B
Name: BRW-SB3
ID: fe8b756d-59de-46e4-bdc6-e56d63c158c5
yankay
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingplatform/Windows/Non-WSL2Microsoft Windows (non-WSL2)Microsoft Windows (non-WSL2)