Docker Migration Stuck

So I have a docker container running on Unraid, and it says migration lock, unable to start server.

I can’t find any documentation on how to get the downgrade working in a docker container. I’ve tried the following

docker run --entrypoint=‘ghost update --rollback’ --net=‘bridge’ -e [ENV VARS] -p ‘2368:2368/tcp’ -v ‘/mnt/user/appdata/ghost’:‘/var/lib/ghost/content’:‘rw’ ‘ghost’
docker: Error 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: exec: “ghost update --rollback”: executable file not found in $PATH: unknown.
ERRO[0060] error waiting for container: context canceled

The error occurs because Docker can’t find the ghost update --rollback command due to how --entrypoint was used. Instead, you can enter the running container with

docker exec -it <container_name_or_id> /bin/bash

and manually run

ghost update --rollback.

Alternatively, run the command directly without overriding the entrypoint:

docker run --rm -v /mnt/user/appdata/ghost:/var/lib/ghost/content ghost bash -c “ghost update --rollback”

This should resolve the migration lock issue.