GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
podman-machine-cp(1) FreeBSD General Commands Manual podman-machine-cp(1)

podman-machine-cp - Securely copy contents between the host and the virtual machine

podman machine cp [options] src_path dest_path

Use secure copy (scp) to copy files or directories between the virtual machine and your host machine.

podman machine cp does not support copying between two virtual machines, which would require two machines running simultaneously.

Additionally, podman machine cp will automatically do a recursive copy of files and directories.

--help

Print usage statement.

--quiet, -q

Suppress copy status output.

Copy a file from your host to the running Podman Machine.

$ podman machine cp ~/configuration.txt podman-machine-default:~/configuration.txt
...
Copy Successful

Copy a file from the running Podman Machine to your host.

$ podman machine cp podman-machine-default:~/logs/log.txt ~/logs/podman-machine-default.txt
...
Copy Successful

Copy a directory from your host to the running Podman Machine.

$ podman machine cp ~/.config podman-machine-default:~/.config
...
Copy Successful

Copy a directory from the running Podman Machine to your host.

$ podman machine cp podman-machine-default:~/.config ~/podman-machine-default.config
...
Copy Successful

podman(1), podman-machine(1)

February 2025, Originally compiled by Jake Correnti jcorrent@redhat.com ⟨mailto:jcorrent@redhat.com⟩


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.