genuinetools / Netns
Licence: mit
Runc hook (OCI compatible) for setting up default bridge networking for containers.
Stars: ✭ 197
Programming Languages
go
31211 projects - #10 most used programming language
Labels
Projects that are alternatives of or similar to Netns
Dockly
Immersive terminal interface for managing docker containers and services
Stars: ✭ 3,034 (+1440.1%)
Mutual labels: cli, containers
Binci
🐳 Containerize your development workflow.
Stars: ✭ 671 (+240.61%)
Mutual labels: cli, containers
Img
Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
Stars: ✭ 3,512 (+1682.74%)
Mutual labels: cli, containers
Dksnap
Docker Snapshots for Development and Test Data
Stars: ✭ 122 (-38.07%)
Mutual labels: cli, containers
Cinf
Command line tool to view namespaces and cgroups, useful for low-level container prodding
Stars: ✭ 389 (+97.46%)
Mutual labels: cli, containers
Bpfd
Framework for running BPF programs with rules on Linux as a daemon. Container aware.
Stars: ✭ 396 (+101.02%)
Mutual labels: cli, containers
Bane
Custom & better AppArmor profile generator for Docker containers.
Stars: ✭ 902 (+357.87%)
Mutual labels: cli, containers
Reg
Docker registry v2 command line client and repo listing generator with security checks.
Stars: ✭ 1,485 (+653.81%)
Mutual labels: cli, containers
Tent
Podman (https://podman.io/) based development-only dependency manager for Linux
Stars: ✭ 69 (-64.97%)
Mutual labels: cli, containers
Ckube
A cli to simplify working with kubectl for some common workflows
Stars: ✭ 127 (-35.53%)
Mutual labels: cli, containers
Client
Knative developer experience, docs, reference Knative CLI implementation
Stars: ✭ 193 (-2.03%)
Mutual labels: cli
Syft
CLI tool and library for generating a Software Bill of Materials from container images and filesystems
Stars: ✭ 196 (-0.51%)
Mutual labels: containers
Dotnet Testcontainers
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
Stars: ✭ 195 (-1.02%)
Mutual labels: containers
netns
Runc hook for setting up default bridge networking.
Table of Contents
Installation
Binaries
For installation instructions from binaries please visit the Releases Page.
Via Go
$ go get github.com/genuinetools/netns
Usage
$ netns -h
netns - Runc hook for setting up default bridge networking.
Usage: netns <command>
Flags:
--ipfile file in which to save the containers ip address (default: .ip)
--mtu mtu for bridge (default: 1500)
--state-dir directory for saving state, used for ip allocation (default: /run/github.com/genuinetools/netns)
--bridge name for bridge (default: netns0)
-d enable debug logging (default: false)
--iface name of interface in the namespace (default: eth0)
--ip ip address for bridge (default: 172.19.0.1/16)
Commands:
create Create a network.
ls List networks.
rm Delete a network.
version Show the version information.
Place this in the Hooks.Prestart
field of your runc
config.
{
...
"hooks": {
"prestart": [
{
"path": "/path/to/netns"
}
]
},
...
}
List network namespaces
$ sudo netns ls
IP LOCAL VETH PID STATUS
172.19.0.3 netnsv0-21635 21635 running
172.19.0.4 netnsv0-21835 21835 running
172.19.0.5 netnsv0-22094 22094 running
172.19.0.6 netnsv0-25996 25996 running
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].