We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90d8d14 commit 3f4a449Copy full SHA for 3f4a449
1 file changed
specs/docker/copy_files_from_a_host_to_a_docker_container.yaml
@@ -1,9 +1,9 @@
1
---
2
name: Copy files from a host to a docker container
3
-command: "docker cp {{container_id}}:/{{container_filepath}} {{local_file_path}}"
+command: "docker cp {{local_file_path}} {{container_id}}:/{{container_filepath}}"
4
tags:
5
- docker
6
-description: Copies a file (or multiple files) from a container to the host machine.
+description: Copies a file (or multiple files) from a host machine to a container.
7
arguments:
8
- name: container_id
9
description: The container ID of the docker container.
0 commit comments