Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 513 Bytes

docker-cp.md

File metadata and controls

16 lines (10 loc) · 513 Bytes

Copy host to docker container

docker cp {{SOURCE_DIRECTORY}} {{DOCKER_CONTAINER}}:{{DESTINATION_DIRECTORY}}

  • SOURCE_DIRECTORY: Source directory to upload
  • DOCKER_CONTAINER: Docker container name or ID
  • DESTINATION_DIRECTORY: Directory/path where to upload on docker container

Example:

docker cp ak-cli arshad-docker-container:/uploads

Related Commands