Docker安装(CentOS)
一键卸载旧的
sudo yum remove docker*

一行代码(自动安装)
使用官方安装脚本
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

启动 docker并查看状态

运行镜像 hello-world
docker run hello-world

简单使用
使用 docker run 命令
在容器内运行一个应用程序比如: docker run hello-world
安装node
docker pull node:latest

docker images

运行node容器
docker run -itd --name node-test node

进入容器
docker exec -it node-test /bin/bash
