podman-machine-cp(1)
π podman-machine-cp(1) π
okay bestie, welcome to the General Commands Manual entry for podman-machine-cp β the little scp-flavored glow-up that lets you yeet files back and forth between your host and your Podman virtual machine. it's giving β¨file transferβ¨ but make it secure.
πΈ NAME πΈ
podman-machine-cp β securely copy contents between the host and the virtual machine
π¦ SYNOPSIS π¦
podman machine cp [options] src_path dest_path
β¨ DESCRIPTION β¨
so basically, this uses secure copy (scp) to move files or directories back and forth between the virtual machine and your host machine. that's the whole vibe. π«Ά
lowkey important: podman machine cp does not support copying between two virtual machines. like, not even a little. that would need two machines running at the same time, and we simply are not doing that. π
also highkey convenient: podman machine cp will automatically do a recursive copy of files and directories. you don't gotta ask twice, it just does it. periodt. π
π OPTIONS π
--helpβ print the usage statement. your classic "help me bestie" move.--quiet,-qβ suppress copy status output. for when you want it silent, mysterious, main character energy. π€«
π EXAMPLES π
π 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
π SEE ALSO π
π§ HISTORY π§
February 2025, originally compiled by Jake Correnti jcorrent@redhat.com β¨mailto:jcorrent@redhat.comβ©
ngl that's the whole page bestie. go copy something cute. π
okay so that's a wrap on the podman-machine-cp(1) page β sending you off with all the love, from the General Commands Manual era, February 2025, compiled by Jake Correnti jcorrent@redhat.com β¨mailto:jcorrent@redhat.comβ©. slay, stay safe, and don't forget the colon in machine:path. iykyk π
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- fedora 43: podman-docker 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman-docker 5:5.8.4-1.fc43
- fedora 43: podman-docker 5:5.8.8-1.fc43
- fedora 43: podman-docker 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.7-1.fc44
- fedora 44: podman-docker 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- ubuntu resolute: podman-docker 5.7.0+ds2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms