I am going to setup ubuntu server, so would it be a replacement for SQL/MariaDB? LIke a standalaone server to run selfhosted containers?
Are there any specific kind of setups I would need to know of/configure to use it with ubuntu server?
are running containers via docker desktop on ubuntu server the same as using it without a server?
Could I transfer all data i have in docker desktop from the non server source (i use linux on a seperate laptop) to Ubuntu server?
anything else i should be aware of?
if ubuntu server is not the best, what could be reccomended as an optimal replacemtn that would work better and function better? (and would answer questions 1-4, replacing "ubutnu sever)
Sorry, I don’t understand the question. An Ubuntu Server usually means you have no GUI. It could have if you install one, but then why do we emphesize it is a server? It could be any Ubuntu. Docker Desktop has a GUI and it is for development, not for a server and definitely not for production services
If you want to use Docke rin production, use Docker CE (aka Docker Engine).
Alternative to a database? No. It is a container engine for isolation. You can run the database in a container or without a container. But I may still misunderstand the question because I don’t understand how the question comes up, since everything that uses a database has to support databases, so it is not that you choose a database and look for an app that can use it. But if you are a beginner developer, or just want to be one, learn about databases and containers as well
Recommended links to learn the basics and concepts:
So can I use a docker image of mySQL or MariaDB to use with other images? Or do I need both the docker image and the external server?
I know the basics on how containers work and images.
I want to work on a container but it needs a database to run. I know there are images of mySQL and Maria dB but I don’t know if I can just use a container of that and another container to work together or if I would need to use mysql / Maria DB externally
Please read and try to understand the tutorials @rimelek shared in his last post. Your questions do not indicate that you actually understand the concepts.
Once you get a better understanding, your questions will be more precise, and less confusing for the reader.
What you asked about is among basics. I don’t even know how to reply., since the question doesn’t make sense. What do you want to use a MySQL image for when MySQL is running on an external server without Docker? You decide whether you run something in containers or not.