docker run -it centos:latest /bin/bash
# 启动一个容器
docker commit -m "centos with git" -a "qixianhu" 72f1a8a0e394 xianhu/centos:git
# 确认修改
docker images
# 查看已有容器
docker search ubuntu
# 查找网络中的容器
# 启动一个容器
docker commit -m "centos with git" -a "qixianhu" 72f1a8a0e394 xianhu/centos:git
# 确认修改
docker images
# 查看已有容器
docker search ubuntu
# 查找网络中的容器