Похожие чаты

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 ответов

15 просмотров

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.

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

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

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

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта