mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-09-20 23:55:58 +08:00
feat: docker 默认网络 1panel => 1panel-network
This commit is contained in:
parent
ad5b03c1d3
commit
fa9d524368
|
@ -39,8 +39,8 @@ func createDefaultDockerNetwork() {
|
||||||
fmt.Println("init docker client error", err.Error())
|
fmt.Println("init docker client error", err.Error())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !cli.NetworkExist("1panel") {
|
if !cli.NetworkExist("1panel-network") {
|
||||||
if err := cli.CreateNetwork("1panel"); err != nil {
|
if err := cli.CreateNetwork("1panel-network"); err != nil {
|
||||||
fmt.Println("init docker client error", err.Error())
|
fmt.Println("init docker client error", err.Error())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue