command
module
Version:
v0.0.0-...-0e8a405
Opens a new window with list of versions in this module.
Published: Dec 25, 2018
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Container
simple container implementation in go.
Material
1, Unprivileged containers on Go.
2, Docker implemented in around 100 lines of bash.
3, Code to accompany the "Namespaces in Go" series of articles.
4, Shell script to create network namespace.
5, Iptables
Network
set dns resolver in container:
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
set ip forward in host:
sysctl -w net.ipv4.ip_forward=1
Run
make config
make build
make run
after this, you can ping google.com
, this should work.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.