Copy a file from a Docker container to the current host

Copies files from a Docker container back to the host. Note the container does not need to be running in order to use this command.

Authored by: creack
container_id
container_filepath
local_filepath

Command
Copy
docker cp container_id:container_filepath local_filepath
Tags