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

core: Add containernetworking-plugins #791

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

wjt
Copy link
Member

@wjt wjt commented Mar 24, 2024

/etc/cni/net.d/87-podman-bridge.conflist refers to several plugins from
this package; without it, attempting to run some configurations of
containers (such as via docker-compose) fails with errors like:

ERROR: for postgres preparing container
3e95923481bbf2f48645eff5da2c92e84b40f723f518153d270f703269fb3752 for
attach: plugin type="bridge" failed (add): failed to find plugin
"bridge" in path [/usr/local/libexec/cni /usr/libexec/cni
/usr/local/lib/cni /usr/lib/cni /opt/cni/bin]

With this package installed, docker-compose can be used successfully
from a toolbox container against podman on the host.

It is 45 MiB which I feel a bit bad about, but maybe we can reclaim that
somewhere else in the OS.

/etc/cni/net.d/87-podman-bridge.conflist refers to several plugins from
this package; without it, attempting to run some configurations of
containers (such as via docker-compose) fails with errors like:

> ERROR: for postgres  preparing container
> 3e95923481bbf2f48645eff5da2c92e84b40f723f518153d270f703269fb3752 for
> attach: plugin type="bridge" failed (add): failed to find plugin
> "bridge" in path [/usr/local/libexec/cni /usr/libexec/cni
> /usr/local/lib/cni /usr/lib/cni /opt/cni/bin]

With this package installed, `docker-compose` can be used successfully
from a toolbox container against podman on the host.

It is 45 MiB which I feel a bit bad about, but maybe we can reclaim that
somewhere else in the OS.
@starnight
Copy link
Contributor

docker-compose is useful to warp up Redis and PostgreSQL for developing Azafea.

@starnight starnight merged commit 00d92eb into master Mar 25, 2024
1 check passed
@starnight starnight deleted the add-containernetworking-plugins branch March 25, 2024 07:06
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.

2 participants