|
|
|
|
|
by crashfrog
3980 days ago
|
|
> It demonstrates that at least some of Docker's core functionality does not require a monster application ```The following packages are needed to run bocker. btrfs-progs
curl
iproute2
iptables
libcgroup-tools
util-linux >= 2.25.2
coreutils >= 7.5
Because most distributions do not ship a new enough version of util-linux you will probably need grab the sources from here and compile it yourself. Additionally your system will need to be configured with the following. A btrfs filesystem mounted under /var/bocker
A network bridge called bridge0 and an IP of 10.0.0.1/24
IP forwarding enabled in /proc/sys/net/ipv4/ip_forward
A firewall routing traffic from bridge0 to a physical interface.
A base-image which contains the filesystem to seed your container with.``` Is this the "well-written software" pattern that you're talking about? Because to me, this looks like a "big ball of mud" - i.e. dependence on an eclectic combination of libraries, co-programs, and environment configuration - and indeed, if for some perverse reason I felt like I wanted to deploy this in production, it's exactly the kind of thing I'd wind up writing a Dockerfile for. (Which, I notice is functionality "Bocker" doesn't attempt to replicate.) |
|