I tried again this evening and got the same 404 error.
However, I noticed when I did the manual docker pull
that the volume on the server was running low on space. I rectified that and retried, after which the installation worked.
I'm not sure how a lack of space could be related to a 404 error, but it's working now.
Thanks for your help!