After updating to the latest ghost3 docker container, the upgrade to ghost4 was equally simple.
First stop the service with
docker-compose stop service
The update the
docker-compose.yaml entry for the service to read:
With the updated configuration file run again:
docker-compose pull service docker-compose up --no-deps -d service