Skip to content
Discussion options

You must be logged in to vote

Q for way 1:

1. As you said, for 'id' I can just hard code them to any value of my choice. I assume that you mean any "valid" value which generated by "GenerateNonCryptoID" right? Because it will report error if I set id to "foobar".

Yes it should be a valid 64 char hex id but which one should not matter as long as you make sure other network configs in this directoy do not use the same ID.

2. If I set it to a valid id which generated by "GenerateNonCryptoID", if there by any chances that this id will be occupied by any other upcoming network or container and cause conflict?

Networks created by podman network create will never cause a ID conflict as the code checks that the ID is no…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Luap99
Comment options

Answer selected by 839735495
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants