xxxxxxxxxx
//Copy a local file into container
docker cp ./some_file CONTAINER:/work
//Copy files from container to local path
docker cp CONTAINER:/var/logs/ /tmp/app_logs
//Copy a file from container to stdout. Please note cp command
//produces a tar stream
docker cp CONTAINER:/var/logs/app.log - | tar x -O | grep "ERROR"