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

podman-remote cp fails with error "you must use just one container" #4204

Closed
sshnaidm opened this issue Oct 5, 2019 · 4 comments
Closed
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@sshnaidm
Copy link
Member

sshnaidm commented Oct 5, 2019

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description
When running podman-remote cp it fails with error you must use just one container

Steps to reproduce the issue:

podman-remote --username fedora --remote-host 192.168.2.5 cp /tmp/file1 cont44:/tmp/file1
Error: invalid arguments /tmp/file1, cont44:/tmp/file1 you must use just one container

While container cont44 exists on remote:

podman-remote --username fedora --remote-host 192.168.2.5 ps
CONTAINER ID  IMAGE                              COMMAND     CREATED       STATUS           PORTS  NAMES
35a3948defce  docker.io/library/python:3-alpine  sleep 100d  15 hours ago  Up 15 hours ago         cont44

podman-remote --username fedora --remote-host 192.168.2.5 exec -it cont44 ls /tmp/
...

Describe the results you received:
Error "you must use just one container" and file is not copied

Describe the results you expected:
File is copied from local machine to remote container

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

Version:            1.5.1
RemoteAPI Version:  1
Go Version:         go1.12.7
OS/Arch:            linux/amd64

Output of podman info --debug:

debug:
  compiler: gc
  git commit: ""
  go version: go1.12.7
  podman version: 1.5.1
host:
  BuildahVersion: 1.10.1
  Conmon:
    package: podman-1.5.1-3.fc30.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 2.0.0, commit: d728afa06cd2df86a27f32a4692c7099a56acc97-dirty'
  Distribution:
    distribution: fedora
    version: "30"
  MemFree: 800608256
  MemTotal: 25141854208
  OCIRuntime:
    package: runc-1.0.0-93.dev.gitb9b6cc6.fc30.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc8+dev
      commit: e3b4c1108f7d1bf0d09ab612ea09927d9b59b4e3
      spec: 1.0.1-dev
  SwapFree: 3497410560
  SwapTotal: 12645822464
  arch: amd64
  cpus: 4
  eventlogger: journald
  hostname: sshnaidm.remote
  kernel: 5.2.15-200.fc30.x86_64
  os: linux
  rootless: true
  uptime: 306h 16m 32.79s (Approximately 12.75 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /home/sshnaidm/.config/containers/storage.conf
  ContainerStore:
    number: 16
  GraphDriverName: overlay
  GraphOptions:
  - overlay.mount_program=/usr/bin/fuse-overlayfs
  GraphRoot: /home/sshnaidm/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 17
  RunRoot: /tmp/1000
  VolumePath: /home/sshnaidm/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):

podman-1.5.1-3.fc30.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):

@sshnaidm
Copy link
Member Author

sshnaidm commented Oct 5, 2019

Closing it because podman-remote cp isn't implemented yet, see #4203

@sshnaidm sshnaidm closed this as completed Oct 5, 2019
@rhatdan
Copy link
Member

rhatdan commented Oct 6, 2019

Please open an issue on adding this support if the issue does not currently exists.

@sshnaidm
Copy link
Member Author

sshnaidm commented Oct 6, 2019

@rhatdan opened #4207

@rhatdan
Copy link
Member

rhatdan commented Oct 6, 2019

Thanks.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

3 participants