-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
弄一个自启动脚本 #12
Comments
童鞋已经很简单了啊。安装 docker 自动不了。
|
童靴 我说的是开机自启动, 不是自动安装 |
哦,这个我稍后修改下 docker-compose 文件应该就可以实现了
ptsa <notifications@github.com>于2017年9月15日周五 上午10:20写道:
… 童靴 我说的是开机自启动, 不是自动安装
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAzD4PotIFelRw6n5TFi-XfWLsW4n0Hhks5sid7rgaJpZM4PYZOi>
.
|
wahyd4
added a commit
that referenced
this issue
Sep 15, 2017
现在 docker 镜像在被意外停掉后就会自动重启了。前提是 docker 进程还在,比如,主机被强制重启。那么 docker 镜像会自动重启。 docker-compose stop
git pull
docker-compose up -d |
提醒。
然后再docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
新手不知道应该怎么写
The text was updated successfully, but these errors were encountered: