I have done the following
Steps to reproduce
- container run -it --name test ubuntu:latest bash
- container cp test:/existing/file.txt ~/local/file.txt
→ works fine, returns fast
- container cp test:/path/that/does/not/exist ~/local/foo.txt
→ hangs indefinitely, no error, no timeout
- Ctrl-C to abort
- container stop test
→ also hangs indefinitely
- container system stop
→ also hangs indefinitely
Only recovery found: restart macos.
Problem description
container cp on a source path that doesn't exist inside the container hangs
forever instead of returning an error immediately. Worse, once this happens every subsequent
command against that same container — exec -it, stop, system stop — also
hangs indefinitely.
Expected behavior:
- cp on a missing path should fail fast with a clear "no such file or
directory" error.
- Even if a single operation does hang, it should not take down the whole
container's control channel — stop should still work, or at minimum
should time out with a clear error rather than hanging forever.
Actual behavior:
- cp hangs with no timeout.
- exec and stop on the same container then hang too.
- Only way to recover is restart macos.
Environment
- OS: macOS 26.5.2 (Tahoe)
- Hardware: Apple Silicon (M4)
- Container: Container CLI version 1.1.0 (installed via Homebrew)
- Image: docker.io/library/ubuntu:latest (Ubuntu 26.04 LTS, arm64)
Code of Conduct
I have done the following
Steps to reproduce
→ works fine, returns fast
→ hangs indefinitely, no error, no timeout
→ also hangs indefinitely
→ also hangs indefinitely
Only recovery found: restart macos.
Problem description
container cpon a source path that doesn't exist inside the container hangsforever instead of returning an error immediately. Worse, once this happens every subsequent
command against that same container — exec -it, stop, system stop — also
hangs indefinitely.
Expected behavior:
directory" error.
container's control channel — stop should still work, or at minimum
should time out with a clear error rather than hanging forever.
Actual behavior:
Environment
Code of Conduct