The below example shows how to copy files from Docker container to Host. C:\BTC\websphere-k8s-master>docker cp "docker cp" requires exactly 2 arguments. See 'docker cp --help'. Usage: docker cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH|- docker cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH Copy files/folders between a container and the local filesystem
Typical usage is shown below,
docker cp 70b8d51a70af:/home/user/somefile.txt .