netavark(1) - Online Linux Manual Page
NAMEnetavark - Configure a given network namespace for use by a container

SYNOPSISnetavark [options] command network namespace path

DESCRIPTIONNetavark configures a network namespace according to a configuration read from STDIN. The configuration is JSON formatted.

GLOBAL OPTIONS

--file, -fInstead of reading from STDIN, read the configuration to be applied from the given file. -f - may also be used to flag reading from STDIN.

COMMANDS

netavark setupThe setup command configures the given network namespace with the given configuration, creating any interfaces and firewall rules necessary.

netavark teardownThe teardown command is the inverse of the setup command, undoing any configuration applied. Some interfaces may not be deleted (bridge interfaces, for example, will not be removed).

CONFIGURATION FORMATThe configuration accepted is the same for both setup and teardown. It is JSON formatted. Format is https://github.com/containers/podman/blob/cd7b48198c38c5028540e85dc72dd3406f4318f0/libpod/network/types/network.go#L164-L173 but we will also send a Networks array including all the network definitions (https://github.com/containers/podman/blob/cd7b48198c38c5028540e85dc72dd3406f4318f0/libpod/network/types/network.go#L32-L62) TODO: Transcribe configuration into here in a nice tabular format

EXAMPLEnetavark setup /run/user/1000/podman/netns/d11d1f9c499d netavark -f /run/podman/828b0508ae64.conf teardown /run/podman/netns/828b0508ae64

SEE ALSOpodman(1)

HISTORYSeptember 2021, Originally compiled by Matt Heon mheon@redhat.com mailto:mheon@redhat.com
0
Johanes Gumabo
Data Size   :   7,015 byte
man-netavark.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 172,538
Visitor ID   :     :  
Visitor IP   :   18.222.184.207   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.