打包一下镜像
sudo docker save -o liang:v1.0.tar liang:v1.0
du -sh liang\:v1.0.tar
24M liang:v1.0.tar
error pulling image configuration: download failed after attempts=6: dial tcp 104.18.121.25:443: i/o timeout
sudo ntpdate time.windows.com
sudo docker image build -t komavideo/mynode:v01 .
sudo docker container run komavideo/mynode:v01
image相当于编程语言中的类,container将镜像实例化,new了一个对象
突然发现docker收费了,算了先到这里,看明天能不能找方法免费