Skip to content
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

Fix Docker image for usage on Azure AppService #476

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DUNK025
Copy link

@DUNK025 DUNK025 commented Nov 5, 2024

Since the official unstructured-api image doesn´t work on Azure AppServices, the pip and app files must be moved from the home/notebook-user folder to another folder on the system (in this case /opt).

It seems that Azure tries to mount or modify the home directory in our container with contents from their kudu OS, which leads to an empty /home/notebook-user folder.

The error message in azure looks as follows:

ERROR - Container start failed for {APP_SERVICE_INSTANCE} with System.AggregateException, One or more errors occurred. 
(Docker API responded with status code=BadRequest, response={"message":"failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: \"scripts/app-start.sh\": stat scripts/app-start.sh: no such file or directory: unknown"})
InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: \"scripts/app-start.sh\": stat scripts/app-start.sh: no such file or directory: unknown"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant