mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-23 14:24:03 +08:00
feat: docker 默认网络 1panel => 1panel-network
This commit is contained in:
parent
ad5b03c1d3
commit
fa9d524368
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue