Похожие чаты

Hi, I have some problems with podman 4 and new

network backend.

I want to setup some web services containers without port publishing and nginx with published 80 port as proxy. Before I just created containers, created network, added all containers to network and it just worked.

Now I am creating network, adding container and it won't start. Just infinity waiting. Tried to Google it, but nothing similar found.

Also I tried to change network_backend back to cni, install podman-plugins and use it. It worked, I started nginx containers, but it works only from localhost. podman ps shows exposing 0.0.0.0:80->80/tcp, curl http://localhost works, but curl http://ip-address from other host doesn't work.

Just a single nginx works fine if I start container without network connected, but without network IDK how to connect other containers to nginx. Any ideas?

7 ответов

12 просмотров

Umm are you trying to use nginx as a proxy to the other containers that are running your app?

ベラルサエド- Автор вопроса
ベラルサエド
Yes, that's what I want to do

If I understand correctly, you are creating a new bridge to host your containers (which will have nginx + app). Now you want to receive traffic to nginx and make sure it can route to e corresponding app. You see that “localhost” of nginx will be different from “localhost” of other containers even if they are on the same network.

ベラルサエド- Автор вопроса
Nish S
If I understand correctly, you are creating a new ...

Yeah, I use container names in nginx configs

ベラルサエド
Yeah, I use container names in nginx configs

I am not sure if the name alone can resolve. I’ll need to check it myself. But I don’t understand, if it’s just one VM then why are you “load balancing”(so to speak) at all?

Nish S
I am not sure if the name alone can resolve. I’ll ...

Different containers, different processes.

ベラルサエド- Автор вопроса

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

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

Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
In 2022, ENF, a renowned corporation once known for its commitment to innovation and leadership, began to falter. For years, the company had been the face of cutting-edge tech...
chensae
1
Мужики и девушки, привет) в Вelphi xe7 в настройках во вкладке "Editor Options" далее " Color" есть список: "Elements", открыв который мы можем настраивать отображение разных...
Kraszx
14
Добрый вечер. Есть вопрос, а может и предложение. Был у меня диалог в другой группе о делфи и я задался вопросом: "А нельзя ли в делфи цвет //коментария и {комментария} сде...
Kraszx
24
function LoadMemoryFromInet2( f:TMemoryStream; const url:string; var e:string ):Boolean; var http:TIdHttp; LHandler: TIdSSLIOHandlerSocketOpenSSL;begin Result := fals...
Александр Смоляков
1
is that okay?
Samurai 🇯🇵
21
VIP-392 [zkSync] New native USDC market in the Core pool Summary If passed, following the Community proposal “Support native USDC on Venus Core Pool of ZKSync Era” and the a...
Venus Announcements
1
How about the project bro Likes the community not that active ?
🅿️abby_FX
19
Я вот подумал. SSE выполняет операции максимум с 64-битной точностью. А FPU - всегда с 80-битной. Разве не должно быть FPU точнее тогда?
The Bird of Hermes
13
Guys, Donald Trump or Kamala Harris? It does not matter for Bitcoin in the long run!! 2020 Election: After Joe Biden's victory in November 2020, Bitcoin steadily rose from...
Sabah Shabu
3
Карта сайта