I’m new to docker (and a relative Linux novice). I’ve set up Docker on a Lubuntu 16.10 machine and installed a mediawiki container using info from here:
The questions I have are:
- How can I automatically restart my mediawiki container whenever the machine is rebooted?
- How can I persist any new data written to the container (e.g. new wiki articles written) between restarts? At the moment I lose everything (including my mediawiki config) every time the container is restarted.