is there an nsenter way to attach a container as a mounted volume to another? let's say a "fedora/tools" container (which have dnf/yum) and a target container which is barely have busybox?
I saw this but it seems a hack https://jpetazzo.github.io/2015/01/13/docker-mount-dynamic-volumes/ On Tue, Jun 21, 2016 at 1:48 AM, Muayyad AlSadi <als...@gmail.com> wrote: > given a fake-runtime, > > yum --nogpgcheck --installroot=$OSROOT --releasever=23 --setopt > tsflags=nodocs install httpd > > I got the following > > [root@fedora osroot]# for i in . usr/lib/ usr/lib/locale/ > usr/share/locale/ usr/share/i18n; do du -sm $i ; done > 227 . > 109 usr/lib/ > 109 usr/lib/locale/ > 28 usr/share/locale/ > 10 usr/share/i18n > > so most of the 227MB are locales and i18n > > I noticed that httpd pulled systemd-libs because it depends on > libsystemd.so.0()(64bit) > > I don't know why it needs systemd libs (if it's for notify, I don't need > it inside docker) > > > > On Tue, Jun 21, 2016 at 1:17 AM, Muayyad AlSadi <als...@gmail.com> wrote: > >> > localedef --prefix $OSROOT --list-archive xargs localedef --prefix >> $OSROOT --delete-from-archive >> >> the line was >> >> localedef --prefix $OSROOT --list-archive | grep -v en_US | xargs >> localedef --prefix $OSROOT --delete-from-archive >> > >