I've fixed the code that mentioned in the pull request.After that ,I typed python3 w4sp_app.py, all I got is this error log below:
*['which', 'dumpcap']
['getcap', b'/usr/bin/dumpcap']
[] Error, capabilities not set on dumpcap, setting capabilities
[] Not enough w4sp/labs images found, building now
/home/w4sp-lab/Downloads/w4sp-lab-master/images
['docker', 'build', '-t', 'w4sp/labs:base', 'base']
The command '/bin/sh -c apt-get -y install nmap mtr traceroute python wget curl supervisor' returned a non-zero code: 100
Traceback (most recent call last):
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_webapp.py", line 499, in
w4sp.docker_build('images/')
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_app/utils.py", line 95, in docker_build
r('docker build -t w4sp/labs:base base')
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_app/utils.py", line 83, in r
return subprocess.check_output(cmd)
File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['docker', 'build', '-t', 'w4sp/labs:base', 'base']' returned non-zero exit status 100.**
I've fixed the code that mentioned in the pull request.After that ,I typed python3 w4sp_app.py, all I got is this error log below:
*['which', 'dumpcap'] ['getcap', b'/usr/bin/dumpcap'] [] Error, capabilities not set on dumpcap, setting capabilities [] Not enough w4sp/labs images found, building now /home/w4sp-lab/Downloads/w4sp-lab-master/images ['docker', 'build', '-t', 'w4sp/labs:base', 'base'] The command '/bin/sh -c apt-get -y install nmap mtr traceroute python wget curl supervisor' returned a non-zero code: 100 Traceback (most recent call last): File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_webapp.py", line 499, in
w4sp.docker_build('images/')
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_app/utils.py", line 95, in docker_build
r('docker build -t w4sp/labs:base base')
File "/home/w4sp-lab/Downloads/w4sp-lab-master/w4sp_app/utils.py", line 83, in r
return subprocess.check_output(cmd)
File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
return run( popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['docker', 'build', '-t', 'w4sp/labs:base', 'base']' returned non-zero exit status 100.**
What should I do?