容器日志及标准输出 docker attach --sig-proxy=false container-id or contain-name; docker logs containter-id; for i in `docker ps |grep Up|awk '{print $1}'`;do echo \ &&docker top $i; done docker inspect container-id; 宿主机容器文件cp复制 docker cp strange_banzai:/etc . docker cp etc/ strange_banzai:/tmp 宿主机远程执行容器指令 docker exec strange_banzai ls -lrt /tmp/etc/