Re: [systemd-devel] Removing image from /var/lib/machines

2015-04-24 Thread Lennart Poettering
On Sun, 22.02.15 09:09, Peter Paule (systemd-de...@fedux.org) wrote: > Does it make sense to avoid copying /etc/resolv.conf to a container if > the filesystem is read-only? > > sudo /usr/bin/systemd-nspawn --read-only -M docker-centos-nginx > --read-only /usr/sbin/nginx > > Failed to cop

Re: [systemd-devel] Removing image from /var/lib/machines

2015-04-24 Thread Lennart Poettering
On Sun, 22.02.15 07:54, Peter Paule (systemd-de...@fedux.org) wrote: > Excerpts from Peter Paule's message of 2015-02-21 19:42:49 +0100: > > I tried 219 on a different machine as well. I got some "Permission > > denied errors" for importd as well. I "fixed" them by running importd > > from console

Re: [systemd-devel] Removing image from /var/lib/machines

2015-04-24 Thread Lennart Poettering
On Fri, 20.02.15 14:23, Peter Paule (systemd-de...@fedux.org) wrote: > > Zitat von Lennart Poettering : > > >On Thu, 19.02.15 19:46, Peter Paule (systemd-de...@fedux.org) wrote: > > > >>BTW: > >> > >>--dkr-index-url cannot handle http redirects > >> > >>By accident I tried "http://index.docker.i

Re: [systemd-devel] Removing image from /var/lib/machines

2015-02-22 Thread Peter Paule
Does it make sense to avoid copying /etc/resolv.conf to a container if the filesystem is read-only? sudo /usr/bin/systemd-nspawn --read-only -M docker-centos-nginx --read-only /usr/sbin/nginx Failed to copy /etc/resolv.conf to /var/lib/machines/docker-centos-nginx/etc/resolv.conf: Rea

Re: [systemd-devel] Removing image from /var/lib/machines

2015-02-21 Thread Peter Paule
Excerpts from Peter Paule's message of 2015-02-21 19:42:49 +0100: > I tried 219 on a different machine as well. I got some "Permission > denied errors" for importd as well. I "fixed" them by running importd > from console as root. The errors occured when I tried to download a > docker image from in

Re: [systemd-devel] Removing image from /var/lib/machines

2015-02-20 Thread Peter Paule
Zitat von Lennart Poettering : On Thu, 19.02.15 19:46, Peter Paule (systemd-de...@fedux.org) wrote: BTW: --dkr-index-url cannot handle http redirects By accident I tried "http://index.docker.io"; and this will be redirected to "https://index.docker.io"; but importd cannot handle this. I t

Re: [systemd-devel] Removing image from /var/lib/machines

2015-02-20 Thread Lennart Poettering
On Thu, 19.02.15 19:46, Peter Paule (systemd-de...@fedux.org) wrote: > BTW: > > --dkr-index-url cannot handle http redirects > > By accident I tried "http://index.docker.io"; and this will be redirected to > "https://index.docker.io"; but importd cannot handle this. I think this is actually a p

Re: [systemd-devel] Removing image from /var/lib/machines

2015-02-19 Thread Peter Paule
BTW: --dkr-index-url cannot handle http redirects By accident I tried "http://index.docker.io"; and this will be redirected to "https://index.docker.io"; but importd cannot handle this. ___ systemd-devel mailing list systemd-devel@lists.freedeskto

Re: [systemd-devel] Removing image from /var/lib/machines

2015-02-19 Thread Lennart Poettering
On Thu, 19.02.15 14:58, Peter Paule (systemd-de...@fedux.org) wrote: > Hi Lennart, > > I reformatted my partition and tried again. :-) Importing now works, if I > disabled the > verification. > > Feb 19 :52 host systemd-importd[483]: (transfer1) Pulling > 'https://cloud-images.ubuntu.com/trus

[systemd-devel] Removing image from /var/lib/machines

2015-02-19 Thread Peter Paule
Hi Lennart, I reformatted my partition and tried again. :-) Importing now works, if I disabled the verification. Feb 19 :52 host systemd-importd[483]: (transfer1) Pulling 'https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz', saving as 'tr Feb 19 :5