Copy files to/from containers
medium risk
Copies between a container and the host.
docker cp web:/etc/nginx/nginx.conf .Copy a file out · explain & risk-check →docker cp ./app.conf web:/etc/app.confCopy a file in · explain & risk-check →Reference text is hand-written and may be incomplete — check man docker for your version. Test destructive commands on a non-production system first.