feat: set the platform flag in order to run amd64 images on arm64 deploy targets

This allows folks to use herokuish, pack, and lambda built-images on arm64 servers.

Closes #6312
This commit is contained in:
Jose Diaz-Gonzalez
2023-10-27 23:02:08 -04:00
parent ea28367689
commit 874f2dfaf4
3 changed files with 18 additions and 0 deletions

View File

@@ -25,6 +25,12 @@ dokku scheduler:set node-js-app selected
## Usage
### Deploying amd64 images on arm64
> New as of 0.33.0
Many builders only produce amd64-compatible images. The docker-local scheduler will automatically detect these and run them via the `--platform=linux/amd64` on arm64 deploy targets.
### Disabling chown of persistent storage
The `scheduler-docker-local` plugin will ensure your storage mounts are owned by either `herokuishuser` or the overridden value you have set in `DOKKU_APP_USER`. You may disable this by running the following `scheduler-docker-local:set` command for your application: