You can view help by docker cp --help
docker cp 7a:/tmp/yum.log .
docker cp yum.log 7a:/
docker exec 7a ls /