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

PVST Feature commit #20417

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

divyachandralekha
Copy link

What I did
Added new STP docker and rules to compile STP
Added libevent required for STP

How to verify it
After this PR STP docker will be available

@divyachandralekha divyachandralekha changed the title Pvst co pr PVST Feature enable Oct 4, 2024
@divyachandralekha divyachandralekha changed the title PVST Feature enable PVST Feature commit Oct 4, 2024
$(DOCKER_STP)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE_BULLSEYE)

$(DOCKER_STP)_CONTAINER_NAME = stp
$(DOCKER_STP)_RUN_OPT += --privileged -t

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally giving host system privileges to docker is not a good idea due to security reasons,

Is it possible to check if access needed by stp daemon are met by doing selective capability additions, something like below,

$(DOCKER_STP)_RUN_OPT += -t --cap-add=NET_ADMIN --cap-add=SYS_ADMIN --cap-add=NET_BROADCAST

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.

3 participants