packaging requestion: docker-gc
by Matthew Miller
See: https://github.com/spotify/docker-gc
A simple Docker container and image garbage collection script.
Containers that exited more than an hour ago are removed.
Images that don't belong to any remaining container after that are
removed.
Although docker normally prevents removal of images that are in use
by containers, we take extra care to not remove any image tags (e.g.,
ubuntu:14.04, busybox, etc) that are in use by containers. A naive
docker rmi $(docker images -q) will leave images stripped of all tags,
forcing docker to re-pull the repositories when starting new containers
even though the images themselves are still on disk.
This script is intended to be run as a cron job, but you can also run
it as a Docker container (see below).
I had ambitions of packaging this myself, but taking a look at the
calendar, that doesn't seem reasonable. Anyone else want to take a
stab? (Bonus points -- a PR for github to include RPM-building
instructions!)
--
Matthew Miller
<mattdm(a)fedoraproject.org>
Fedora Project Leader
8 years, 2 months
[Bug 1100000] New: can't run iscsid in a docker container
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1100000
Bug ID: 1100000
Summary: can't run iscsid in a docker container
Product: Fedora
Version: 20
Component: docker-io
Assignee: lsm5(a)redhat.com
Reporter: jslagle(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, golang(a)lists.fedoraproject.org,
lsm5(a)redhat.com, mattdm(a)redhat.com,
mgoldman(a)redhat.com, s(a)shk.io, vbatts(a)redhat.com
Created attachment 898086
--> https://bugzilla.redhat.com/attachment.cgi?id=898086&action=edit
iscsid strace showing failure
Description of problem:
Can't start iscsid in a docker container
Version-Release number of selected component (if applicable):
# rpm -q docker-io
docker-io-0.11.1-3.fc20.x86_64
How reproducible:
always
Steps to Reproduce:
1. use the published fedora image, docker pull fedora
2. start the container, docker run -t -i fedora /bin/bash
3. install iscsi-initiator-utils
4. try to start iscsid:
bash-4.2# iscsid -f
iscsid: can not bind NETLINK_ISCSI socket
strace also attached
--
You are receiving this mail because:
You are on the CC list for the bug.
8 years, 2 months