docker commit

update docker container:
docker commit -m "add folder:/opt" -a "Sunny Guan" f7c5c9449f10 sunny/ai:v1
docker commit -m "update setup ai module" -a "Sunny Guan" b7f6534bec29 sunny/ai:v1


docker rmi $(docker images | grep "none" | awk '{print $3}')

Run docker :

docker run --name xxxai -p 8089:8080 -v /opt/xx/ai:/xxx -di  sunny/ai:v1  bash

posted @ 2020-02-11 12:44  退役产品汪  阅读(192)  评论(0编辑  收藏  举报