Skip to content
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

Container MAC Address & Licensed Software #53

Open
buvoli opened this issue Mar 22, 2020 · 2 comments
Open

Container MAC Address & Licensed Software #53

buvoli opened this issue Mar 22, 2020 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@buvoli
Copy link
Member

buvoli commented Mar 22, 2020

Certain software licenses may require a fixed MAC address in the container.
Docker
By default all docker containers have this feature. Moreover, you can manually specify the address using the --mac-address flag.
Podman
By default rootless podman selects a random MAC address for the container. When running as root, podman can also specify the MAC address of the container so long as you specify the network namespace.
sudo podman run --net podman --mac-address='X:X:X...' IMAGE COMMAND
For rootless podman alternative is to use the --network='host' flag which causes the host and container MAC address to match. This provides a consistent MAC address of license purposes.

@buvoli buvoli added the documentation Improvements or additions to documentation label Mar 22, 2020
@buvoli
Copy link
Member Author

buvoli commented Mar 23, 2020

In light of this, user should be able to specify the following flags in stack config:
Docker: --mac-address
Podman: --net and --mac-address

@buvoli buvoli added the enhancement New feature or request label Mar 23, 2020
@buvoli
Copy link
Member Author

buvoli commented Mar 25, 2020

flags where added in 85553b2 and 251f3ed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant