The below example shows how to copy files from Host to Docker container. 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 README.md b24a2f83884e:/home/user/