Enter terminal
docker exec -it [容器 ID] [解释器]
Generally, the interpreter is bash. If an error occurs, try sh, /bin/bash, /bin/sh or /bin/csh.
Copy files
docker cp [容器 ID]:[路径] [容器 ID]:[路径]
If the container ID is not written, the target is the host.
View image
docker images
Make a mirror
docker commit -p [容器 ID] [快照名]
save image
docker save -o [路径] [快照名]
The path should contain the file name with a .tar suffix.
Loading image
docker load -i [路径]