Magento deployment cannot start OpenSearch in nested Docker
Error recorded 2 times in PanelAlpha Engine deploys on Php. The deploy log below is the recorded failure output.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen2 times · 2 variants
WherePhp
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The deployment reaches Docker Compose startup, but the OpenSearch container cannot be created. The nested Docker runtime is not permitted to set rlimit type 8, commonly associated with the container's memlock limit. This is a DinD or host-permission mismatch rather than a Composer or Git failure.
What the log looks like
Deploy log
Container project-opensearch-1 StartingError response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting rlimits for ready process: error setting rlimit type 8: operation not permittedDeploy failed: Failed to start app