On the Ghost image site for Docker Hub under Upgrading Ghost, it has the following instructions:
For upgrading your Ghost container you will want to mount your data to the appropriate path in the predecessor container (see below): import your content from the admin panel, stop the container, and then re-mount your content to the successor container you are upgrading into; you can then export your content from the admin panel.
https://hub.docker.com/_/ghost
I find these instructions extremely confusing…
Can anyone shed some light on why they are written in this way, or clear up what I am misunderstanding?
Mount your data to the appropriate path in the predecessor container
Why would one need to mount their data to the appropriate path in the predecessor container–wouldn’t that be done already if they had a functioning Ghost container to upgrade?
Import your content from the admin panel, stop the container
Why would one need to import content from the admin panel and stop the container (again, this is already done; but if the intention here was to tell people to backup their data before doing the upgrade, then shouldn’t the instruction be to export your content from the admin panel, then stop the container)?
Re-mount your content to the successor container you are upgrading into
This makes sense to me.
You can then export your content from the admin panel
Why would one need to do this?
If this instruction is to import previously exported content via the admin panel, it would make sense, but if we’re mounting the content, why would it need to be imported again?
If it is written correctly, then what is the point of exporting the content? Is this just to make a back-up?
Thanks in advance for helping me understand the procedure.