Getting started with Docker
First question: is Docker incompatible with i386? If so, why SBo doesn't say a thing about it?
Anyways, I want to see what this "Linux containers" thing is about and decided to give Docker a try. I've built it from SBo, created a docker group, assigned my user to it with: Code:
# groupadd -r -g 281 docker Code:
/etc/rc.d/docker start Code:
docker -d Code:
2014/12/13 14:29:44 docker daemon: 1.3.1 4e9bbfa; execdriver: native; graphdriver: |
Quote:
|
Quote:
|
Quote:
EDIT: @vbatts, any good alternatives? |
If you are wanting to use docker, alternatives include waiting. It is not for lack of attention that i386 is not supported yet. Lots of eyes are on it. I suspect it will start opening up after the new year.
The issue is largely around the docker-registry support. The patch to allow the local docker daemon to use different arches (arm too) is a one liner. and if you are not pushing to the hub, perhaps that is an okay use-case. Otherwise, you can look into the lxc toolchain, and not use docker for the time being, if ix86 is a current requirement. |
Code:
commit aeb3113f2a1e6096f240bb9bb4b3de8d31e5ef73 |
thanks Willy!
|
You can approximate around 80% of what a Docker container can give you (that is, lacking isolated networking,) via other tools. I remember using things like schroot on Debian back in the day; looking for Slackware port, it seems that vbatts already got that covered too in http://www.slackware.com/~vbatts/schroot/ .
To cover the remaining 20%, you might want to play around with OpenVZ Virtual Ethernet devices and/or Virtual Distributed Ethernet... |
true, but chroot and schroot do not handle the cgroups and namespaces. You could wrap some things up with unshare(1) and other tools, but there is a good deal more than just a change root. I do like schroot, and have since made the same workflow for myself using docker images instead. Having a way to distribute the image is much nicer now.
|
All times are GMT -5. The time now is 03:29 AM. |