Closed elreydetoda closed 1 year ago
Thank you, I appreciate your elaboration on the bug.
I understand the problem, the -f
will suppress the errors, usually I prefer to know if there are problems but in this specific issue I think your solution is good enough.
But if there will be issues with /tmp
and /opt/kubiscan
we want to know about them.
We will check if there is another solution for that, meanwhile, I will accept your solution.
Summary
When not providing an
aws_dir
as an argument to the./docker_run.sh
script, themkdir -p
command doesn't run. Causing thechmod
command to fail.While this doesn't prevent you from exec'ing inside the container it is still confusing (made me think the script didn't finish initially).
Steps to Reproduce
./docker_run.sh ~/.kube/config
(the same error happens no matter if I'm using @2niknatan's
natan2nik/kubiscan
image or build locally and use that image's name)Expected Results
No errors (i.e. picture below)
Actual Results
chmod
errorReproducible
Version/Tag number
commit: cd670a671454c99487327942332fa5a6697037f3 (current master branch's latest commit)
Environment setup
In proxmox VM running Kali Linux 2023.1 with docker version:
Effectively running in this Vagrantfile (used the same script to install docker).
Additional Information
N/a