Commit 1c0784bc authored by duanjinfei's avatar duanjinfei

updage model container start gpu driver

parent d947b02f
......@@ -166,6 +166,7 @@ func (d *DockerOp) CreateAndStartContainer(imageName string, dockerCmd *models.D
func (d *DockerOp) CreateContainer(imageName string, dockerCmd *models.DockerCmd) (string, error) {
ctx, cancel := context.WithTimeout(context.Background(), time.Minute*20)
defer cancel()
log.Info("creating container host info:", dockerCmd)
portBinds := []nat.PortBinding{
{
HostIP: dockerCmd.HostIp,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment