Re:Why Docker Is Not Yet Succeeding Widely in Production
by crashfrog on Wednesday July 29, 2015 @09:14AM
(#9968360)
> 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.)
Re:Why Docker Is Not Yet Succeeding Widely in Production
by api on Wednesday July 29, 2015 @12:01PM
(#9969507)
A few packages are needed, but in their standard configurations. Bocker does not require you to install hundreds and specially tinker with each one the way many web stacks do.
```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.)