Docker的基本使用
简单概念
预备知识:Linux命令
What is Docker?
Docker is the company driving the container movement and the only container platform provider to address every application across the hybrid cloud.
类比:
可以当做是一个轻量级的虚拟机,但是也不完全是hi虚拟机。
Mac上安装Docker
Docker for mac 下载链接1
2
3安装后启动即可。导航栏上方会出现一个Docker的图标
命令行中输入 docker info 查看它的运行状态
Docker 介绍
1 | Client: |
Dockerfile
之前我们通过docker commit 来创建docker镜像
自己动手编写简单的文件来创建docker镜像。
未完待续…