I’m on a shared hosting plan in which Docker cannot be installed. Would Docker still be useful for creating a development (non-production) environment, or does it lose most of its utility if you can’t run a Docker command on your webhost at the end to move everything over to the production site?
(In the short run, I would be building a couple of drupal 10 sites as well as one or two based on Vue 3)
You can get the most out of it if you use the same docker image in development and production, but Docker can also be used to run the same server component versions in a dev environment as you would have in production. Then you run “bind mount” the data from the host into a container and you can also mount the configuration files
Here is the first example from my tutorial
Of course this example is too simple so I recommend trying all the examples.
Can you clarify, is ‘bind mount’ something I would run in Docker, which I’ve installed locally on my computer, and that would configure/prepare the site I’d been working on (within a local, Docker development environment) so I could upload it onto a shared webhost that doesn’t have Docker?
Or is the ‘bind mount’ something that a standard, shared, webhost would run to bring my Docker image in? (and if so, what software or engine would run that -I may need to give my webhost directions to make things workable).
bind mount the source code or anything you would copy to the server. You run the same server version in a container locally. If you try the examples I linked you will understand it better. You can also read about volumes and bind mounts here:
I made this tutorial exactly to help understanding Docker better, but there are other recommended links as well