How can I copy a file from a container to the host or to another container?

rbagby

New Member
Sep 25, 2020
3
1
1
64
I'm trying to copy a single file from a running container to another container.

I can push the file from the host if I could get the file to the host.

I've tried pull but it gives me the error "can only pull files from a running VM at /usr/share/perl5/PVE/CLI/pct.pm line 559."
 
is the container with VMID 800 running? - `pct list | grep 800`

I tried the pct pull command here with a running container - it works

I hope this helps!
 
  • Like
Reactions: rbagby
Yes, the container is running.
I finally just mounted the container and copied the file.

Thank you.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!