diff --git a/midpoint/install/containers/docker/index.adoc b/midpoint/install/containers/docker/index.adoc index 44547af8..6306471f 100644 --- a/midpoint/install/containers/docker/index.adoc +++ b/midpoint/install/containers/docker/index.adoc @@ -96,6 +96,23 @@ Depending on your environment, this may take several minutes. NOTE: If you encounter problems, you can check midPoint logs in the console using the Docker logging mechanism: `docker logs midpoint_server` +* *Copy files between host and container*: ++ +[source,bash] +---- +docker cp +---- ++ +The `docker cp` command enables you to copy files or directories between your local system and a running container. +The arguments of the command are: + +* The source path (file or directory) +* The destination path (file or directory) + +Each path can refer either to your local system or to a container (e.g. `container_name:/path`). +This is useful when you need to quickly upload files (e.g., CSV resources or configuration files) into the container. + + * *Stop the environment*: + [source,bash] @@ -143,6 +160,9 @@ The following table shows the most common commands: | `docker ps -a` | Lists all containers currently used in the system (including stopped containers). +|`docker cp SOURCE DEST` +|Copies and pastes files or directories between your host system and a running container. + |==== [NOTE]