启动Docker容器测试helloworld及Docker和虚拟机的区别
启动docker后台容器,测试运行helloWorld
//使用下面的命令运行helloWorld
docker run hello-world
//成功会出现下方信息
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
1b930d010525: Pull complete 
Digest: sha256:4df8ca8a7e309c256d60d7971ea14c27672fc0d10c5f303856d7bc48f8cc17ff
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
Docker和虚拟机的区别

 
        作  者:sweetheart1998
        
        出  处:https://home.cnblogs.com/u/gujun1998/
        
        如有问题或建议,请多多赐教!
        
        版权声明:本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接。
        
        如果您觉得文章对您有帮助,可以点击文章右下角推荐一下!
        
    

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号