Is there any possibilities of allocating custom internal static ip address for podman rootless containers. And then expose them securely to the public internet through reverse proxy without opening extra ports from the host.
Asked
Active
Viewed 63 times
0
-
I don't know anything about Podman rootless containers, but do either of these help: https://github.com/containers/podman/issues/7842 or https://stackoverflow.com/questions/59888892/assigning-specific-ip-address-to-containers-using-podman ? - Probably the latter – Aubs Jun 29 '23 at 20:15
1 Answers
0
Yes, it's an option for pod create, run:
--ip=ipv4
Specify a static IPv4 address for the <<container|pod>>, for example 10.88.64.128.
Cpt.Whale
- 4,501
- 2
- 13
- 25
-
I was looking for a way for internal host ip address. Anyway thanks for this. It will help – zakadmin Jun 30 '23 at 20:53