Does anyone have Docker running on Arch Linux? Can you tell me how?
I'm looking to use Docker on an Arch Linux server. I'm looking for pointers from others who have done this.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 268bua
I'm looking to use Docker on an Arch Linux server. I'm looking for pointers from others who have done this.
17 comments
both the arch wiki and the docker page have instructions for this
https://wiki.archlinux.org/index.php/Docker
http://docs.docker.io/installation/archlinux/
They seem pretty straightforward tbh. Do neither of these work?
Well, I haven't given it a shot. I just read the warning that it's in like hard core dev mode and said to myself... let me check the sub before trying something that could mess up my shit.
potentially any update could mess up your shit, don't you try these things on a test server or virtual installation first?
logout - login
Have fun.
Also if you have relatively small root partition (which I have), I'd recoomend you to bind mount /var/lib/docker to another place.
Had it running on Arch Linux amd64[1]. But, maybe my setup was off, I encountered ~2 bugs.
update: I may have been using docker wrong when dealing with stopping/persisting containers.
LVM Devmapper would not mount docker images/overlays after a reboot. Meaning, either you never stop your machine (in my case not a real server, just a laptop) or you rebuild the container from scratch.
archlinux docker seems to be using the btrfs backend. Because of bug #1 I tried docker on ubuntu 14.04 amd64. There I realized the aufs backend is much faster, 4x .. maybe more (again my machine is an average laptop).
[1] no supported way to have a 32 bit docker yet, some guys managed to hack the source but it's out of date by now.
Would it be smarter to just use a vanilla container?
vanilla ? as in from dockerfile repository ? I don't think it would change the problem.
Nope. Too bad I'm not on arch now I can't try your advice.
ps : I wouldn't mind data loss, it's a test db for learning. I wouldn't expect such a deep crash though.
This post addled my brain.