1. // login docker
    2. docker login --username=xrwang8 --password=AKCp5fUPKs4M39ZPikP6WuqLQnyQ9Bif4wtt7xDvnD9ELNRWSw7FFE9rwpkG7G7DjM8qP33nG artifacts.iflytek.com
    3. //启动容器并进入容器
    4. docker run --name b1 -it busybox
    5. //制作镜像
    6. docker commit -p b1
    7. //重新制作镜像,-c 修改容器启动命令,
    8. docker commit -a "wangxingrui" -c 'CMD ["/bin/httpd","-f","-h","/data/html"]' -p b1 xrwang8/httpd:v0.1
    9. //停止容器
    10. docker stop 401b4a411802
    11. //查找容器的第一个进程(宿主机的进程,对应容器内的第一个进程)
    12. docker inspect --format "{{.State.Pid}}" $CONTAINER_ID
    13. docker exec -it 容器id/容器名 /bin/bash
    14. docker images | grep hub.iflytek.com | awk '{print $1":"$2}' | xargs -r -n 1 docker push
    15. docker save -o xxxxx.tar imagesName
    16. 解压镜像
    17. docker load -i xxxx.tar