挂载本地图片路径
This commit is contained in:
parent
af92c1ca00
commit
df69d98073
@ -13,4 +13,4 @@ docker rm ${app_name}
|
|||||||
#echo '----rm image----'
|
#echo '----rm image----'
|
||||||
#docker rmi -f "${app_name}:${app_version}"
|
#docker rmi -f "${app_name}:${app_version}"
|
||||||
echo '----start container----'
|
echo '----start container----'
|
||||||
docker run -d -p 6127:6127 --name ${app_name} --restart always "${app_repository}/${app_name}:${app_version}"
|
docker run -d -p 6127:6127 --name ${app_name} -v /home/mallpic:/home/mallpic--restart always "${app_repository}/${app_name}:${app_version}"
|
Loading…
Reference in New Issue
Block a user