added GPU compatability

This commit is contained in:
2021-04-10 00:46:17 +04:00
parent bc1859484a
commit 2ec90cfaf5
11 changed files with 90 additions and 54 deletions

View File

@@ -37,7 +37,7 @@ var CliAction = func(ctx *cli.Context) error {
fmt.Sscanf(Ports, "%d", &PortsInt)
}
imageRes, err := client.StartContainer(IpAddress,PortsInt)
imageRes, err := client.StartContainer(IpAddress,PortsInt,GPU)
if err != nil {
fmt.Print(err)