I have done the following
Steps to reproduce
container run -d --rm --name foo alpine:latest sleep 1d
touch file
container cp file foo:/root/
This fails with
Error: failed to copy into container foo (cause: "internalError: "failed to copy into container foo (cause: "notFound: "copyIn: source not found '/file'"")"")
Following succeeds
container cp $PWD/file foo:/root/
Problem description
Container cp fails to expand host path.
Environment
ProductName: macOS
ProductVersion: 26.2
BuildVersion: 25C56
ReleaseType: Internal
Code of Conduct
I have done the following
Steps to reproduce
This fails with
Following succeeds
Problem description
Container cp fails to expand host path.
Environment
Code of Conduct