-
Notifications
You must be signed in to change notification settings - Fork 620
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
-n arg with nerdctl cp doesn't work #1334
Comments
$ sudo nerdctl -n test cp Makefile nginx:/home
FATA[0000] 1 errors: [no such object: nginx]
FATA[0000] failed to execute [/usr/local/bin/nerdctl container inspect --mode=native --format={{json .Process}} nginx]: exit status 1 |
it is a desired behaviour because plz use : |
Still shouldn't conflict with cp |
@AkihiroSuda hmm right it should only conflict with |
Is this closed since #1375 was merged? |
Description
namespace arg doesn't work with nerdctl cp cmd. I had to set CONTAINERD_NAMESPACE env variable to overcome this issue.
Steps to reproduce the issue
No response
Describe the results you received and expected
-n should change namespace
What version of nerdctl are you using?
latest
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
No response
Host information
No response
The text was updated successfully, but these errors were encountered: