registry: add restart=true (unless-stopped restart policy)

fixes #450
pull/453/head
iwilltry42 4 years ago
parent 5092a90d56
commit 118eea57f9
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 1
      pkg/client/registry.go

@ -64,6 +64,7 @@ func RegistryCreate(ctx context.Context, runtime runtimes.Runtime, reg *k3d.Regi
Image: reg.Image,
Role: k3d.RegistryRole,
Network: "bridge", // Default network: TODO: change to const from types
Restart: true,
}
// error out if that registry exists already

Loading…
Cancel
Save