Nothing installed without a look first.
An install is two steps: where it goes and the few answers it needs, then the review of every container it will make — images, ports and who reaches them, variables and where their values come from. A password it needs is generated as a real secret.
- The exact commands, secrets by name, before anything runs.
- If any part fails, what was made is removed.
- The listing’s own warning — “create the owner account now” — shown once, when it matters.
Replaced by stopping first — it keeps data. Port 3306 stays inside ts-default.
- 1Make the network ts-default — if it is not on the server yet
docker network create ts-default - 2Download mariadb:11.8
docker pull mariadb:11.8 - 3Create and start it
docker run -d --name mariadb --network ts-default \ --restart unless-stopped \ -e 'MARIADB_PASSWORD=<generated, kept as the secret DB_PASSWORD>' \ -v 'ts-mariadb-data:/var/lib/mysql' mariadb:11.8 - 4Wait until its health check passes



