Docker命令
查看容器列表
docker ps -a
改名
docker rename <old_container_name> <new_container_name>
打开容器命令行
docker exec -it <container_name/id> sh
复制文件到容器
docker cp src/directory/ container-id:/target_location/directory
反过来,容器文件复制到主机
docker cp container-id:/target_location/directory D:/directory/