You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
allow docker cp to accept several different folders #37961
Would be nice if docker cp allowed specifying several files/folders in SRC_PATH.
My use case: I want to copy both tmp/cache and public/assets from an image, then package it to tar. If docker cp supported multiple arguments i could just use - as DEST_PATH and omit the taring altogether.
The command could look similar to how scp works: docker cp container_name:/first/path container_name:/second/path target_path
Activity
[-]docker cp to allow several different folders[/-][+]allow docker cp to accept several different folders[/+]SmilingNavern commentedon Oct 3, 2018
I would like to try to implement this feature