Skip to content

Separate pod network and caddy network #51

@HighPriest

Description

@HighPriest

Hello @eriksjolund
Thank you for this amazing resource. With your work, I was able to get up-to-speed with Podman in a day of work!

To the point.
I am surprised that when a Network= is added to a container, which is part of a pod, the container gets removed from the pod network. 127.0.0.1:db_port no longer works.

To get communication caddy container -> service container -> db container, I had to put all these containers into a single network.
I was hoping that if I put a container on a network, it receives a separate network interface to only communicate with devices on that network. But it seems to not work like this.

Does it mean that a separation of concerns like this is not possible? Or have I missed something and we could create Example5 which works like this?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions