You have a choice here of the latest Docker Desktop for Windows, which requires you to have a free Docker Hub account and disables VirtualBox in order to run, or the older Docker Toolbox. STEP 1: Download Dockerįirst you want to download Docker. Let me demonstrate by spinning up a few PostgreSQL containers on a windows laptop. But Docker itself is relatively straightforward. Who doesn’t want to learn a whole different technology before they can get down to playing with a brand-new database feature? OK, maybe not the whole Docker, Docker Compose, Kubernetes stack. Plus, containers are part of the whole Microservices Architecture that DevOps keep going on about, and inevitably lead to talking about Kubernetes. And you can get them in a variety of versions, from the latest beta to legacy versions. There are dozens of databases available on Docker’s Hub (a cross between GitHub and Google Play Store), Oracle, SQL Server, Postgres, MariaDB, MySQL, Mongo and more. In this blog I explain how you can create a PostgreSQL Docker container in 7 steps. By using containers, resources can be isolated, access to services restricted and processes assigned, so that you can indicate exactly how much of, for example, CPU, memory or I / O load can be used by a container. This makes installing an application on a server as easy as installing a mobile app on your tablet or smartphone.Īll the required components are built into a container. Docker is an open source framework that makes it possible to package an application and/or database in a lightweight, portable container. It ensures standardization, such as in the transport sector, by choosing a single form of transport. So the other day, I thought about using Docker containers.ĭocker is named after the containers that you see on ships. Especially if I’m playing around with things like database clustering solutions, when I need multiple databases running together. I usually use VirtualBox images to create my sandbox databases, but they can take up quite a bit a disk space and resources. As a multi-platform DBA, I spend a lot of time learning about the latest features available on a variety of open-source and proprietary databases.
0 Comments
Leave a Reply. |