Fix launching instances with specific image
This commit is contained in:
@@ -285,7 +285,7 @@ func CreateInstance(session *Session, conf InstanceConfig) (*Instance, error) {
|
|||||||
|
|
||||||
env = append(env, fmt.Sprintf("PWD_IP_ADDRESS=%s", session.PwdIpAddress))
|
env = append(env, fmt.Sprintf("PWD_IP_ADDRESS=%s", session.PwdIpAddress))
|
||||||
cf := &container.Config{Hostname: nodeName,
|
cf := &container.Config{Hostname: nodeName,
|
||||||
Image: dindImage,
|
Image: conf.ImageName,
|
||||||
Tty: true,
|
Tty: true,
|
||||||
OpenStdin: true,
|
OpenStdin: true,
|
||||||
AttachStdin: true,
|
AttachStdin: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user