1 Star 0 Fork 0

litian / machine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
restart.go 375 Bytes
一键复制 编辑 原始数据 按行查看 历史
package commands
import (
"github.com/docker/machine/libmachine"
"github.com/docker/machine/libmachine/log"
)
func cmdRestart(c CommandLine, api libmachine.API) error {
if err := runAction("restart", c, api); err != nil {
return err
}
log.Info("Restarted machines may have new IP addresses. You may need to re-run the `docker-machine env` command.")
return nil
}
1
https://gitee.com/litian33/machine.git
git@gitee.com:litian33/machine.git
litian33
machine
machine
v0.13.0

搜索帮助