systemd-nspawn container

arnaud gaboury arnaud.gaboury at gmail.com
Sat Apr 25 04:02:47 UTC 2015


On Fri, Apr 24, 2015 at 4:22 PM, Radek Holy <rholy at redhat.com> wrote:
>
>
> ----- Original Message -----
>> From: "arnaud gaboury" <arnaud.gaboury at gmail.com>
>> To: users at lists.fedoraproject.org
>> Sent: Thursday, April 23, 2015 11:34:02 AM
>> Subject: systemd-nspawn container
>>
>> I am running Archlinux and want to build a systemd-nspawn conatiner
>> with Fedora 22 server.
>>
>> Here is what I did:
>>
>> ---------------------------------------------------------------------------
>> # machinectl pull-raw --verify=no
>> http://ftp.halifax.rwth-aachen.de/fedora/linux/releases/test/22_Beta/Cloud/x86_64/Images/Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw.xz
>> $ tar ....
>> # systemd-nspawn -M Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw
>> Spawning container Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw on
>> /var/lib/machines/Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw.
>> Press ^] three times within 1s to kill container.
>> [root at Fedora-Cloud-Base-22_Beta-20150415 ~]# dnf -y --releasever=22
>> --nogpg --installroot=/var/lib/machines/MyContainer --disablerepo='*'
>> --enablerepo=fedora install systemd passwd dnf fedora-release-server
>> vim-minimal
>> Error: Failed to synchronize cache for repo 'fedora' from
>> 'https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64':
>> Cannot prepare internal mirrorlist: Status code: 503 for
>> https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64
>> [root at Fedora-Cloud-Base-22_Beta-20150415 ~]# dnf clean metada
>> --releasever=22                         Remove cached data
>> [root at Fedora-Cloud-Base-22_Beta-20150415 ~]# dnf list sqlite --releasever=22
>>    Fedora 22 - x86_64
>>       3.5 MB/s |  41 MB     00:11
>> Fedora 22 - x86_64 - Test Updates
>>    3.7 MB/s |  14 MB     00:03
>> Error: Failed to synchronize cache for repo 'updates' from
>> 'https://mirrors.fedoraproject.org/metalink?repo=updates-released-f22&arch=x86_64':
>> Cannot prepare internal mirrorlist: Status code: 503 for
>> https://mirrors.fedoraproject.org/metalink?repo=updates-released-f22&arch=x86_64
>> [root at Fedora-Cloud-Base-22_Beta-20150415 ~]#
>> --------------------------------------------------------------------------------
>>
>> I can't install.
>>
>> Anything I am missing?
>>
>> Thank you for hints
>>
>>
>>
>> --
>>
>> google.com/+arnaudgabourygabx
>> --
>> users mailing list
>> users at lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>> Have a question? Ask away: http://ask.fedoraproject.org
>>
>
> According the the status code, I'd expect that the server was temporarily unavailable and according to the other mailing list(s) where you posted a similar question, it seems that it works for you now, doesn't it?

Yes it did. Fedora 22 is running in the container.

TY

> --
> Radek HolĂ˝
> Associate Software Engineer
> Software Management Team
> Red Hat Czech
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org



-- 

google.com/+arnaudgabourygabx


More information about the users mailing list