-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The docker image of faraday missing entrypoint.sh #490
Comments
@Pad0y thanks for trying faraday! We tested the docker-compose and no issues here: Beforehand, delete **any volumes associated and also pull a fresh image** when doing so. Also please `mv $HOME/.faraday $HOME/.faraday-bkp`can you please share the entire output? the latest image id should be cff58b10bafe From what is see it seems more a conflicting docker install than a broken image. try this and let us know: https://docs.docker.com/engine/install/ubuntu/#uninstall-old-versions |
Hi your docker-compose is not healty, it seems you modified it, the volume name is wrong it should be db: can you please use the default? cheers! version: '3.8'
services:
db:
image: postgres:12.7-alpine
restart: always
container_name: faraday_db
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=faraday
ports:
- '5432'
volumes:
- "db:/var/lib/postgresql/data:rw"
redis:
image: 'redis:6.2-alpine'
container_name: faraday_redis
ports:
- '6379'
app:
image: index.docker.io/faradaysec/faraday
restart: always
container_name: faraday_app
entrypoint: "/entrypoint.sh"
volumes:
- "$HOME/.faraday:/home/faraday/.faraday:rw"
environment:
- PGSQL_USER=postgres
- PGSQL_PASSWD=postgres
- PGSQL_HOST=db
- PGSQL_DBNAME=faraday
- REDIS_SERVER=redis
depends_on:
- db
- redis
ports:
- "5985:5985"
volumes:
db:
driver: local
|
Please search the Wiki for a solution before posting a ticket. Use the “New Support Request” button to the right of the screen to submit a ticket for technical support.
Issue Type
Faraday version
5.2.1
Component Name
If you know where the problem lays indicate it:
WebGui/GTKGui/Plugin/Console/Continuous Scanning/Etc.
Steps to reproduce
The startup command was executed and the following error was generated, so I think the image may not have been built well.
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/entrypoint.sh": stat /entrypoint.sh: no such file or directory: unknown
The text was updated successfully, but these errors were encountered: