💾 Archived View for freeshell.de › tldr › docker-cp.gmi captured on 2023-01-29 at 04:41:37. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Copy files or directories between host and container filesystems.
docker cp {path/to/file_or_directory_on_host} {container_name}:{path/to/file_or_directory_in_container}
docker cp {container_name}:{path/to/file_or_directory_in_container} {path/to/file_or_directory_on_host}
docker cp --follow-link {path/to/symlink_on_host} {container_name}:{path/to/file_or_directory_in_container}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).