Copy files from a host to a docker container
Copies a file (or multiple files) from a host machine to a container.
Authored by: Henrik SachseBrought to you by Warp, a free terminal reimagined to work like a modern app.
container_id
container_filepath
local_file_path
Command
Copy
docker cp local_file_path container_id:/container_filepath
Tags
Edit in GitHub
Copied