需求:修改镜像中的一个文件
实现:
docker cp ./start-zookeeper 799e2dd22da4823dade9be242b9b8330f59474fa9bd4ca558db02691a3c20638:/opt/zookeeper/bin/
docker commit -m "修改start-zookeeper" -a "liyuan" 799e2dd22da4823dade9be242b9b8330f59474fa9bd4ca558db02691a3 yuanxi2314/kubernetes-zookeeper1.0-3.4.10:v3.0