Docker Image Operations - Copy Files In and Out of a Container

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Copy a File out of a Container

docker cp <container-id>:<in-container-src-path> <local-dest-path>
docker cp <local-src-path> <container-id>:<container-destination-path>