Docker 有什么用?
<aside> 💡 allows users to package an application with all of its dependencies into a standardized unit for software development.
</aside>
换句话说,就是打包一个容器,这个容器包含了你要运行某个程序的所有依赖。
跟虚拟机相比,更加轻量和高效。
Docker Hub Container Image Library | App Containerization
推荐教程
A Docker Tutorial for Beginners
docker pull busybox
从 docker hub 下一个 imagedocker run busybox
运行 busybox 这个 image 对应的 container。docker run busybox echo "hello from busybox"
docker ps -a