Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows 2025 container exec problems #4005

Open
mirage51 opened this issue Mar 13, 2025 · 7 comments
Open

windows 2025 container exec problems #4005

mirage51 opened this issue Mar 13, 2025 · 7 comments
Labels
bug Something isn't working platform/Windows/Non-WSL2 Microsoft Windows (non-WSL2)

Comments

@mirage51
Copy link

Description

Hi,
I want to exec in a running container but when i get inside, i don't have cursor to move or to give a command. This is not reproduced in windows2022.

Steps to reproduce the issue

  1. nerdctl run image
  2. nerdctl exec -it container powershell or cmd or bash

Describe the results you received and expected

read-only terminal

What version of nerdctl are you using?

2.0.0 and 2.0.3

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

@mirage51 mirage51 added the kind/unconfirmed-bug-claim Unconfirmed bug claim label Mar 13, 2025
@AkihiroSuda AkihiroSuda added bug Something isn't working platform/Windows/Non-WSL2 Microsoft Windows (non-WSL2) and removed kind/unconfirmed-bug-claim Unconfirmed bug claim labels Mar 14, 2025
@TinaMor
Copy link
Contributor

TinaMor commented Mar 17, 2025

@mirage51

  1. Are you using the mcr.microsoft.com/windows/nanoserver:ltsc2025 image or the mcr.microsoft.com/windows/servercore:ltsc2025 image?
  2. Please add the results from nerdctl info in What version of nerdctl are you using?

@mirage51
Copy link
Author

Hi,
mcr.microsoft.com/windows/servercore:ltsc2025 image
The result is a normal terminal in a container but i can't do anything in it. i don't have the control there. Also, i think is important to say: If I do nerdctl exec -it container dir c:\windows or anything else, is working. but i don't have the control on terminal

@TinaMor
Copy link
Contributor

TinaMor commented Mar 18, 2025

@mirage51 Thank you for the update. Will investigate.

To help with repro-ing the bug in a similar env to yours, kindly add the results from running nerdctl info on your device in the What version of nerdctl are you using? section of the bug description.

@mirage51
Copy link
Author

Client:
Namespace: default
Debug Mode: false

Server:
Server Version: v1.7.23
Storage Driver: windows
Logging Driver: json-file
Plugins:
Log: fluentd journald json-file none syslog
Storage: windows-lcow windows
Kernel Version: 10.0 26100 (26100.1.amd64fre.ge_release.240331-1435)
Operating System: Microsoft Windows Server Version 24H2 (OS Build 26100.3194)
OSType: windows
Architecture: x86_64
CPUs: 16
Total Memory: 31.3GiB

Nerdctl version 2.0.0 but 2.0.3 is behaving in the same manner

@TinaMor
Copy link
Contributor

TinaMor commented Mar 18, 2025

Filed the issue on Windows Containers. Windows-Containers/issues/575. Please upvote it there.

@mirage51
Copy link
Author

thanks!

@apostasie
Copy link
Contributor

@TinaMor I recently got #4054 merged in (because of unrelated double CR in linux output linked to the use of OPOST).

This just a wild hunch, but curious if you could test again against main and see if that makes any difference with regard to this specific issue here.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform/Windows/Non-WSL2 Microsoft Windows (non-WSL2)
Projects
None yet
Development

No branches or pull requests

4 participants