DockerSecurityPlayground / DSP

A Microservices-based framework for the study of Network Security and Penetration Test techniques

Home Page:https://secsi.io/docker-security-playground/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ale753 opened this issue · comments

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".