docker run --detach --name some-mariadb --env MARIADB_USER=example-user --env MARIADB_PASSWORD=my_cool_secret --env MARIADB_ROOT_PASSWORD=my-secret-pw mariadb:latest
is it too hard??
En mi opinión igual necesitaras un contenedor, administrar la base de datos, respaldos, espacio en disco... AWS RDS > servicios de bases de datos relacionales en la nube.
I'm not sure if you really mean this can be used in production and I really doubt that's your intention.
Of course it's a great idea to use a simple docker container in your local dev. We always have a docker compose in each repository as well.
Actually we run many simple containers in production, using docker-compose. Where's the problem?
Speed? nope! Reliability? nope! Security? nope!
So if you find a problem here I am all ears...
I just say it's good if it works for you!
this works just fine:
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
docker run --detach --name some-mariadb --env MARIADB_USER=example-user --env MARIADB_PASSWORD=my_cool_secret --env MARIADB_ROOT_PASSWORD=my-secret-pw mariadb:latest
is it too hard??
En mi opinión igual necesitaras un contenedor, administrar la base de datos, respaldos, espacio en disco... AWS RDS > servicios de bases de datos relacionales en la nube.
I'm not sure if you really mean this can be used in production and I really doubt that's your intention.
Of course it's a great idea to use a simple docker container in your local dev. We always have a docker compose in each repository as well.
Actually we run many simple containers in production, using docker-compose.
Where's the problem?
Speed? nope! Reliability? nope! Security? nope!
So if you find a problem here I am all ears...
I just say it's good if it works for you!
this works just fine: