feat: docker 默认网络 1panel => 1panel-network

pull/133/head
zhengkunwang223 2 years ago committed by zhengkunwang223
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…
Cancel
Save