mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 08:00:53 +00:00
feat: docker 默认网络 1panel => 1panel-network
This commit is contained in:
committed by
zhengkunwang223
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user