Open Denny2020 opened 2 years ago
You need executable permission on the entrypoint.sh file. You can do it by setting up permission on the host (where you have entrypoint.sh) using the chmod command. Like:
chmod +x scripts/entrypoint.sh
Then rebuild it.
Thanks, it worked. but how do you access the the db?
In your host port 5432. But you first need to download PostgreSQL if you have not.
Thanks. All worked.
Hey I am getting this error when I tried to run this command docker-compose up --build (Creating airflow-main_postgres_1 ... done Creating airflow-main_scheduler_1 ... done Creating airflow-main_webserver_1 ... error
ERROR: for airflow-main_webserver_1 Cannot start service webserver: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "./scripts/entrypoint.sh": permission denied: unknown
ERROR: for webserver Cannot start service webserver: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "./scripts/entrypoint.sh": permission denied: unknown ERROR: Encountered errors while bringing up the project)
What could be the problem.