mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-13 17:24:44 +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())
|
||||
return
|
||||
}
|
||||
if !cli.NetworkExist("1panel") {
|
||||
if err := cli.CreateNetwork("1panel"); err != nil {
|
||||
if !cli.NetworkExist("1panel-network") {
|
||||
if err := cli.CreateNetwork("1panel-network"); err != nil {
|
||||
fmt.Println("init docker client error", err.Error())
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user