标签:width -- files minutes orm number height pip load
docker run --user 0 -it --name superman testdockerfilebox/test_cpu:latest bash
apt install ...
npm install -g n
pip3 install ...
docker commit superman testdockerfilebox/test_cpu:v1
root@test:~# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
testdockerfilebox/test_cpu v1 e4f2c829d1eb 23 minutes ago 4.42GB
docker save testdockerfilebox/test_cpu:v1 -o test_cpu.tar
docker load
加载 imagedocker load -i test_cpu.tar
docker images
就可以看到刚才的导入的 image 了root@test:~# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
testdockerfilebox/test_cpu v1 e4f2c829d1eb 23 minutes ago 4.42GB
标签:width -- files minutes orm number height pip load
原文地址:https://www.cnblogs.com/musen/p/12092726.html