Compartir comentarios
Las respuestas se generan en base a la documentación.

docker compose cp

DescripciónCopy files/folders between a service container and the local filesystem
Usodocker compose cp [OPTIONS] SERVICE:SRC_PATH DEST_PATH|- docker compose cp [OPTIONS] SRC_PATH|- SERVICE:DEST_PATH

Descripción

Copy files/folders between a service container and the local filesystem

Opciones

OpciónPredeterminadoDescripción
--allInclude containers created by the run command
-a, --archiveArchive mode (copy all uid/gid information)
-L, --follow-linkAlways follow symbol link in SRC_PATH
--indexIndex of the container if service has multiple replicas