Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions midpoint/install/containers/docker/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <source-path> <destination-path>
----
+
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]
Expand Down Expand Up @@ -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]
Expand Down