Git Product home page Git Product logo

defense-lab's People

Contributors

ameserole avatar

Watchers

 avatar

defense-lab's Issues

docker.errors.BuildError: The command '/bin/sh -c apt update' returned a non-zero code: 100

When i try to proceed as mentioned in documentation resulted with below error

root@debian:~/Defense-Lab# python DefenseCLI.py start -ws 3
2020-12-31 09:30.51 DefenseLab msg=Building All Images
2020-12-31 09:30.51 buildAllImages dockerRoot=/root/Defense-Lab/DefenseLab/Services/ serviceName=sampleservice
2020-12-31 09:30.51 buildImage dockerRoot=/root/Defense-Lab/DefenseLab/Services/SampleService imageName=sampleservice
2020-12-31 09:36.42 buildAllImages dockerRoot=/root/Defense-Lab/DefenseLab/Services/ serviceName=buffintover
2020-12-31 09:36.42 buildImage dockerRoot=/root/Defense-Lab/DefenseLab/Services/BuffIntOver imageName=buffintover
2020-12-31 09:37.37 buildAllImages dockerRoot=/root/Defense-Lab/DefenseLab/Services/ serviceName=apachedirectorytraversal
2020-12-31 09:37.37 buildImage dockerRoot=/root/Defense-Lab/DefenseLab/Services/ApacheDirectoryTraversal imageName=apachedirectorytraversal
Traceback (most recent call last):
File "DefenseCLI.py", line 95, in
main()
File "DefenseCLI.py", line 89, in main
labStart(args)
File "DefenseCLI.py", line 64, in labStart
from DefenseLab import DefenseLab # NOQA
File "/root/Defense-Lab/DefenseLab/DefenseLab.py", line 17, in
buildAllImages(config.SERVICE_PATH)
File "/root/Defense-Lab/DefenseLab/Services/BuildImages.py", line 22, in buildAllImages
buildImage(dockerRoot + service, serviceName)
File "/root/Defense-Lab/DefenseLab/Services/BuildImages.py", line 11, in buildImage
image = client.images.build(path=dockerRoot, tag=imageName)
File "/usr/local/lib/python2.7/dist-packages/docker/models/images.py", line 287, in build
raise BuildError(chunk['error'], result_stream)
docker.errors.BuildError: The command '/bin/sh -c apt update' returned a non-zero code: 100

can anyone help me with this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.