Port details |
- containernetworking-plugins Networking plugins for container networking support
- 0.5_10 net =3 0.5_9Version of this port present on the latest quarterly branch.
- Maintainer: dfr@FreeBSD.org
- Port Added: 2022-11-16 12:48:18
- Last Update: 2024-12-05 13:13:24
- Commit Hash: 2aa1228
- People watching this port, also watch:: indexinfo, openjpeg, yarn-node20, autoconf, py39-pyjwt
- License: APACHE20
- WWW:
- https://www.cni.dev/
- Description:
- CNI plugins for container networking support. This is used by
container engines such as Podman and Buildah to setup and teardown
network access for containers.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- containernetworking-plugins>0:net/containernetworking-plugins
- To install the port:
- cd /usr/ports/net/containernetworking-plugins/ && make install clean
- To add the package, run one of these commands:
- pkg install net/containernetworking-plugins
- pkg install containernetworking-plugins
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: containernetworking-plugins
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1697295741
SHA256 (dfr-plugins-freebsd-v0.5_GH0.tar.gz) = ae97b270a350a291e96a57a964df84cf7a3d82311e3a8b0476f1e0e95b9bbb7f
SIZE (dfr-plugins-freebsd-v0.5_GH0.tar.gz) = 4198686
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- bash : shells/bash
- go121 : lang/go121
- This port is required by:
- for Run
-
- sysutils/buildah
- sysutils/podman
Configuration Options:
- No options to configure
- Options name:
- net_containernetworking-plugins
- USES:
- go:no_targets
- pkg-message:
- Container networking relies on NAT to allow container network packets
out to the host's network. This requires a PF firewall to perform the
translation. A simple example is included - to use it:
# cp /usr/local/etc/containers/pf.conf.sample /etc/pf.conf
...
Edit /etc/pf.conf and set v4egress_if, v6egress_if to your network interface(s)
...
# sysrc pf_enable=YES
# service pf start
The sample PF configuration includes support for port redirections. These are
implemented as redirect rules in anchors nested under cni-rdr.
Support for redirecting connections from the container host to services running
inside a container is included for FreeBSD 13.3 and later. To enable this, first
load the pf kernel module, by adding pf_load="YES" to /boot/loader.conf and
enable PF support for these redirections using sysctl:
# kldload pf
# sysctl net.pf.filter_local=1
# service pf restart
Redirect rules will work if the destination address is localhost (e.g. 127.0.0.1
or ::1) - to enable this, the following line must be included in your
/etc/pf.conf:
nat-anchor "cni-rdr/*"
if upgrading from an older version, this needs to be added to /etc/pf.conf.
For example if host port 1234 is redirected to an http service running in a
container, you could connect to it using:
# fetch -o- http://$(hostname):1234
or
# fetch -o- http://localhost:1234
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.5_10 05 Dec 2024 13:13:24 |
Sergey A. Osokin (osa) |
*/*: update licences for podman-related infra
Most of of the products, except ocijail, are under Apache 2.0.
Add licence files.
Bump PORTREVISIONs.
Approved by: dfr (maintainer)
Differential Revision: https://reviews.freebsd.org/D47924 |
0.5_9 09 Aug 2024 06:24:08 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update |
0.5_8 03 Jul 2024 08:29:54 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update |
0.5_7 15 Jun 2024 09:52:17 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update
MFH: 2024Q2 |
0.5_6 13 May 2024 17:56:04 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update
MFH: 2024Q2 |
0.5_5 15 Apr 2024 08:20:04 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update
MFH: 2024Q2 |
0.5_4 24 Mar 2024 14:29:00 |
Muhammad Moinur Rahman (bofh) |
lang/go: Change DEFAULT to 1.21
PR: 277776
Approved by: portmgr (exp-run) |
0.5_3 02 Mar 2024 14:01:25 |
Mathieu Arnold (mat) |
cleanup: (ir)regular GH_TAGNAME cleanup |
0.5_3 11 Feb 2024 10:39:17 |
Ashish SHUKLA (ashish) |
all: Bump PORTREVISION after lang/go* update
PR: 276530 |
0.5_2 11 Jan 2024 15:14:53 |
Doug Rabson (dfr) |
net/containernetworking-plugins: changes to pkg-{descr,message}
Fix a grammar nit in pkg-message. Also capitalise Podman and Buildah,
following upstream policy. |
0.5_1 07 Dec 2023 02:22:10 |
Ashish SHUKLA (ashish) |
all: Bump PORTREVISION after lang/go* update
PR: 274405 |
0.5 09 Nov 2023 13:12:01 |
Doug Rabson (dfr) |
net/containernetworking-plugins: update to 0.5 |
0.4_1 08 Sep 2023 14:34:56 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go* update |
0.4 24 Aug 2023 15:23:30 |
Doug Rabson (dfr) |
sysutils/podman-suite: update to 20230817
Approved by: imp
Differential Revision: https://reviews.freebsd.org/D41490 |
0.4 24 Aug 2023 15:23:05 |
Doug Rabson (dfr) |
net/containernetworking-plugins: update to 0.4 |
0.3_1 04 Aug 2023 14:24:50 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{119,120} update |
0.3 12 Jun 2023 09:20:44 |
Doug Rabson (dfr) |
net/containernetworking-plugins: update to 0.3 |
0.2.1_7 08 Apr 2023 15:13:25 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{119,120} update |
0.2.1_6 24 Mar 2023 20:54:52 |
Robert Clausecker (fuz) |
net/containernetworking-plugins: fix build on riscv64
Bump golang.org/x/sys dependency to a version new enough
to support riscv64-freebsd.
Sponsored by: Berliner Linux User Group e.V.
Approved by: portmgr (build fix blanket) |
0.2.1_5 09 Mar 2023 19:18:07 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after Go ports update |
0.2.1_4 15 Feb 2023 19:06:01 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{119,120} update |
0.2.1_3 09 Feb 2023 21:55:23 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after GO_DEFAULT update. |
0.2.1_2 14 Jan 2023 11:31:17 |
Dmitri Goutnik (dmgk) |
all: Bump PORTVERSION after lang/go{118,119} update |
0.2.1_1 11 Dec 2022 11:17:27 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{118,119} update |
0.2.1 04 Dec 2022 10:56:53 |
Doug Rabson (dfr) |
net/containernetworking-plugins: update to 0.2
Approved by: dch |
0.1 16 Nov 2022 12:46:30 |
Dave Cottlehuber (dch) Author: Doug Rabson |
net/containernetworking-plugins: new port
CNI plugins for container networking support
PR: 267184
Reviewed by: arrowd
Reviewed by: dch
Sponsored by: SkunkWerks, GmbH
Differential Revision: https://reviews.freebsd.org/D37324 |