On Thu, Oct 30, 2014 at 09:34:32AM -0400, Matthew Miller wrote:
As Joe noted the other day, Fedora Atomic is intended to come with
this
service, which will create storage space for Docker images. As
mentioned in the IRC meeting, at this point, the plan is to get this to
stable after the beta (before the feature freeze, as soon as possible),
to update the Atomic tree definition, and then to request a test
candidate including it.
But the first step is getting it to stable. So, testers wanted --
https://admin.fedoraproject.org/updates/docker-storage-setup-0.0.3-1.fc21
So.. not the easiest thing to test because I couldn't find any atomic
images with this package installed. Here is what I did to test on the atomic
image from
http://koji.fedoraproject.org/koji/taskinfo?taskID=7974506 :
cd /tmp/
wget
https://kojipkgs.fedoraproject.org//packages/docker-storage-setup/0.0.3/1...
rpm2cpio docker-storage-setup-0.0.3-1.fc21.noarch.rpm | cpio -idv
cp usr/bin/docker-storage-setup /usr/local/bin/docker-storage-setup
cp usr/lib/systemd/system/docker-storage-setup.service
/etc/systemd/system/docker-storage-setup.service
sed -i 's|/usr/bin/|/usr/local/bin/|'
/etc/systemd/system/docker-storage-setup.service
systemctl enable docker-storage-setup.service
systemctl enable docker.service
reboot
After reboot docker was up and running and I was able to pull and run busybox
from the docker registry. Here are the logs:
docker-storage-setup[783]: CHANGED: partition=2 start=1026048 old: size=5265408
end=6291456 new: size=40916832,end=41942880
docker-storage-setup[783]: Physical volume "/dev/vda2" changed
docker-storage-setup[783]: 1 physical volume(s) resized / 0 physical volume(s) not
resized
docker-storage-setup[783]: Rounding up size to full physical extent 20.00 MiB
docker-storage-setup[783]: Logical volume "docker-meta" created
docker-storage-setup[783]: Logical volume "docker-data" created
Hope this helps,
Dusty