Skip to content

docker: use host network to allow same MAC as host#144

Open
taraxacum45e9a wants to merge 1 commit into
Xilinx:devfrom
taraxacum45e9a:pr/fix/license
Open

docker: use host network to allow same MAC as host#144
taraxacum45e9a wants to merge 1 commit into
Xilinx:devfrom
taraxacum45e9a:pr/fix/license

Conversation

@taraxacum45e9a

Copy link
Copy Markdown

Problem

When building the static shell or dcmac example via scripts/run-with-docker.sh, a license file is mounted into the container. If the license is node-locked (tied to the host's MAC address), Vivado rejects it because the container's network interface has a different MAC address than the host's — even though the mounted license file is valid.

Fix

Add --network host to the docker run args whenever SLASH_LICENSE_PATH is set. This makes the container share the host's network namespace (and thus its MAC address), so Vivado correctly recognizes node-locked licenses.

close #137

@taraxacum45e9a taraxacum45e9a marked this pull request as draft June 26, 2026 11:09
Signed-off-by: Shen Jiamin <shen_jiamin@comp.nus.edu.sg>
@taraxacum45e9a taraxacum45e9a marked this pull request as ready for review June 28, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant