Skip to content

Labs can't start if the docker image used is too big #58

@ale753

Description

@ale753

Describe the bug
Labs can't start if the docker image used is too big.

To Reproduce
Steps to reproduce the behavior:
1 - Create a new lab.
2 - Drag a host in the GUI.
3 - Select an image of size greater than 1GB

Log
On running lab :

ERROR: DockerSecurityPlayground/2413 on kali: Trying to redefine maintainer which is a string
Error: Trying to redefine maintainer which is a string
at DotObject.fill (/root/DockerSecurityPlayground/node_modules/dot-object/index.js:92:17)
at /root/DockerSecurityPlayground/node_modules/dot-object/index.js:147:12
at Array.forEach ()
at DotObject.object (/root/DockerSecurityPlayground/node_modules/dot-object/index.js:141:20)
at Function.object (/root/DockerSecurityPlayground/node_modules/dot-object/index.js:76:31)
at JDCgetCapabilities (/root/DockerSecurityPlayground/app/data/docker-converter.js:76:33)
at JDCGetServices.
.each (/root/DockerSecurityPlayground/app/data/docker-converter.js:133:18)
at Function.each (/root/DockerSecurityPlayground/node_modules/underscore/underscore.js:1230:9)
at Object.JDCGetServices (/root/DockerSecurityPlayground/app/data/docker-converter.js:99:5)
at Object.JSONDockerComposeConvert (/root/DockerSecurityPlayground/app/data/docker-converter.js:161:25)

Notes
"maintainer" is a label in this tested docker image used to reproduce the bug. If I remove maintainer it gives the same problem with "CMD".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions