add restart-always for docker

This commit is contained in:
lyon 2022-05-22 16:37:23 +08:00
parent aa4523b89d
commit b92c5bbede

View File

@ -2,6 +2,7 @@ DOCKER_NAME=pikadev
docker rm $DOCKER_NAME -f
docker run -it --name $DOCKER_NAME \
--restart always \
-w /root/pikascript \
$DOCKER_NAME \
bash