aquasecurity / aquasecurity/cloudsploit

Docker Container Run Fails

Open
#1,118 6 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
751
Avg merge
11d 9h
Merged PRs (30d)
3

Description

While executing the docker container, the following error were observed.

```
‹master*› » docker run -it -e AWS_SECRET_ACCESS_KEY_ID=xxxxxxxxxxxx -e AWS_SECRET_ACCESS_KEY=yyyyyyyyyyyyyyyy cloudsploitc
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "cloudsploit-scan": executable file not found in $PATH: unknown.
```

This seems to be because of improper linking of the node modules which skipped the bin to not to be set properly to `cloudsploit-scan`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported `docker run` command and inspect how the image installs Node modules and exposes the `cloudsploit-scan` executable in PATH. Done means the container starts successfully and the `cloudsploit-scan` command can be invoked from inside it.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, javascript
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.