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

Mariner 2.0 VM host support for docker CNI #3219

Open
et1975 opened this issue Nov 27, 2024 · 3 comments
Open

Mariner 2.0 VM host support for docker CNI #3219

et1975 opened this issue Nov 27, 2024 · 3 comments
Assignees
Labels
bug cni Related to CNI. docs Documentation only

Comments

@et1975
Copy link
Member

et1975 commented Nov 27, 2024

Component (Azure NPM or Azure CNI): CNI

Describe in detail the feature/behavior/change you'd like to see:

Orchestrator(e.g. Kubernetes, Docker):
Docker

Operating System (Linux/Windows):
Mariner 2.0 Linux.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
The installation scripts attempt to check for etables and install via apt.

@rbtr
Copy link
Contributor

rbtr commented Nov 27, 2024

The CNI does work on Mariner/Azure Linux so maybe this is just a documentation problem. At what point do you have issues?

@et1975
Copy link
Member Author

et1975 commented Nov 27, 2024

Updated the original description with the link to the specific failing step.
I have no reason to think that it doesn't work in principle, but I don't see any instructions. Is it available as a standard Mariner distro package?
Also note the second bullet point, the reason I'm looking at this at all is because we have to use the management NIC, which seems to be only available for VMs.

@rbtr
Copy link
Contributor

rbtr commented Nov 27, 2024

Ah, the script expects apt. Looks like if you preinstall ebtables you could bypass this

if [ ! -e /sbin/ebtables ]
then
    printf "Installing ebtables package..."
    apt-get update
    apt-get install -y ebtables
    printf "done.\n"
else
    echo "Package ebtables is already installed."
fi

https://github.com/Azure/azure-container-networking/blob/master/scripts/install-cni-plugin.sh#L33

We don't distribute Linux packages.

@rbtr rbtr added bug cni Related to CNI. docs Documentation only labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cni Related to CNI. docs Documentation only
Projects
None yet
Development

No branches or pull requests

3 participants