jesseduffield / lazydocker

The lazier way to manage everything docker
MIT License
38.83k stars 1.23k forks source link

How about 'docker cp' support to copy a file into the host environment? #601

Open Dima-369 opened 4 days ago

Dima-369 commented 4 days ago

Is your feature request related to a problem? Please describe. It would be amazing to have support to quickly copy a file for checking some output files.

Describe the solution you'd like A command like E which opens a prompt where a full path is entered. It would be best if previous paths would also be remembered. On confirming, the file is pulled and saved to the current directory lazydocker was started.

Describe alternatives you've considered Well, one could always manually use docker cp <containerId>:/file/path/within/container /host/path/target.

Or maybe via the lazydocker custom commands? Although, I haven't tested those yet, not sure if that is supported.