-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quadlet: add support for setting --ip and --ip6 #17691
Conversation
I don't believe any of the logs belong in here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing!
I think you're missing an empty line between the commit's title and the signoff comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would not recommend using --ip or --ipv6, they do not work when using more than one network.
I haven't actually tested this but quadlet already supports Network=
and the cli syntax to properly set static ip/ipv6/mac is this: network:ip=192.168.1.10
. This allows you to set a static ip for each network that is specified. The options are described here: https://docs.podman.io/en/latest/markdown/podman-create.1.html#network-mode-net
This was added with podman 4.0, the --ip and --ip6 options mostly exists because of backwards/docker compat.
I will leave it to the quadlet maintainers to decide if they want these options but I say the new syntax is much better because it support all network options.
@ygalblum looks like you need to sign this. |
Signed-off-by: restitux <[email protected]>
@Luap99 using the |
The signoff should be fixed now, I made a new commit when I deleted the logs. LMK if there are still issues |
@TomSweeneyRedHat I was waiting for the decision regarding the name. |
/hold cancel |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: restitux, ygalblum The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add support for
IP=
andIP6=
.