169 похожих чатов

Hello Is there postgresql image for windows containers? I need to setup

automated pipeline for my app and one of these steps is to dockerize postgresql for windows server that support docker containers natively

7 ответов

13 просмотров

There are no special Docker containers at all for Windows. Even MS itself states to use WSL for automation. And you can tell your customer, they should use an OS that's designed to do the job and not to make stupid workarounds with best wishes from me.

Mohammed-Alashqar Автор вопроса
Stefanie Janine Stölting
There are no special Docker containers at all for ...

I really hate windows, and kinda forced to follow the requirements, Iam dealing with Windows server VM holds another VM to run dockers containers, these docker containers runs "mcr.microsoft.com/windows/servercore:ltsc2022" as ws that will be running node apps and postgresql db xD

Mohammed Alashqar
I really hate windows, and kinda forced to follow ...

Because Docker needs a hypervisor it becomes even more messing to get it running inside VMs. AFAIK this will only work with VMware. And it's not stable.

Mohammed Alashqar
I really hate windows, and kinda forced to follow ...

We were in that same boat. We were doing initial testing with PG V12. And then V13 came out, and 2 of the PG Extensions were not readily available for Windows anymore. I flagged that to the client as a future MAJOR RISK. Two decisions were made. First, to minimize the use of PG Extensions. Second, move the DB server to a Linux box, they will learn to adapt. We use VMs that run Linux to develop against, since most of us are Windows Developers. It's been a good choice.

Kirk
We were in that same boat. We were doing initial ...

It’s fine to use popular extensions such as postgis and timescaledb But the more obscure ones can become abandoned at any moment

Anton Kochubey
It’s fine to use popular extensions such as postgi...

Yes, agreed. We were using the J8 extension for Javascript in our initial pass (thanks to AWS SCT). But we Abandoned that approach because of this. Linux is the "standard" for PG. Windows is a secondary platform. PSQL (in windows) still doesn't have TAB completion. Despite being close in PG16 to turning it on. But the second place status of Windows is obvious. I am just happy the basic DB works will in that environment for small scale usage. (Although for TINY databases I just use SQLite these days, it's just too easy).

Anton Kochubey
It’s fine to use popular extensions such as postgi...

Yes, these were some of the reasons for our adjustment. We are now on Linux. So adding them is much easier. BUT we have a rule "Only Internal Extensions... WITHOUT getting Management Approval". This is just to save us a nightmare situation where some developer makes a rather "heavy" decision to leverage some odd-duck extension to solve one problem... Impacting our configuration(s). When I was young... I was such a cowboy coder... I had no deep respect for long-term support, environment maintenance, etc. I Cringe today at how brash I was. Of course, 30 years ago. NOTHING was nearly as complex as todays environments (ask CrowdStrike, LOL).

Похожие вопросы

Обсуждают сегодня

Какой-то там пердун в 90-х решил, что есть какая-то разная типизация. Кого вообще это волнует?
КТ315
49
void terminal_scroll() { memmove(terminal_buffer, terminal_buffer + VGA_WIDTH, buffer_size - VGA_WIDTH); memset(terminal_buffer + buffer_size - VGA_WIDTH, 0, VGA_WIDTH); ...
Егор
47
Всем привет! Подскажите, пожалуйста, в чем ошибка? Настраиваю подключение к MySQL. Либы лежат рядом с exe. Все как по "учебнику"
Евгений
16
А можете как-то проверить меня по знаниям по ассемблеру?
A A
132
Здравствуйте! У меня появилась возможность купить книгу "Изучай Haskell во имя добра!". Но я где-то слышал, что эта книга устарела. Насколько это правда??
E
22
Здравствуйте! Я вот на stepic решаю задачи на хаскеле https://stepik.org/lesson/8443/step/8?unit=1578 мой код import Data.List (isInfixOf) removing :: String -> [String] ->...
E
10
Камрады, кто тесно работал с vtv, хотел уточнить. Ширина column задаётся жёстко на этапе создания дерева или можно в рантайме ее менять программно (не мышкой)?
Ed Doc
10
да ладно ... что там неочевидного ? глянуть в исх-ки датасета и/или кверика чтобы понять в каком месте и как выполняется обращения к св-вам blablaSQL - минутное дело, даже е...
Сергей
7
Здесь для arm кто-нибудь кодит ?
Nothing
52
Всем привет, у меня есть сервер принимающий входящие HTTP подключения, как проверить, что подключение было через прокси или нет, есть какие то поля в заголовках по которым мо...
DS
8
Карта сайта