Похожие чаты

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

13 просмотров

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.

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

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

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

30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
Привет)) уже кажется эту тему перемусолили, но вот я так и не понял. Я сейчас сижу на 27дюймов 2к мониторе. На Актуальной макоси, если я куплю 27д 4к монитор: - будет ли изобр...
Vladislav Piskunov
16
Also, why can’t the community have a vote/ say when it comes to initiatives like buybacks. Isn’t the point of crypto decentralisation? Don’t we deserve input as long term supp...
👨🏽‍🦰
13
any reference of this implementation?
BitBuddha
29
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
14
Hi guys, any problem with Pulsebrige? Trying to transfer from wETH to ETH. First it tells me to connect my metamask "through mobile app" not desktop. Then I did and confirmed ...
Snowflakecrypto
13
Карта сайта