Hi,
I have been trying to build a docker image to run unit tests for the B2G project [1]. However when I try to install Xorg I get this error [2]. I have been searching on web but is still not clear for me if this is an issue or if I should proceed like this link [3] says. Any idea?
Cheers, Wander.
[1] https://wiki.mozilla.org/B2G [2] https://pastebin.mozilla.org/7243239 [3] jperrin.github.io/centos/2014/09/25/centos-docker-and-systemd/
On 11/11/2014 04:51 AM, Wander Costa wrote:
Hi,
I have been trying to build a docker image to run unit tests for the B2G project [1]. However when I try to install Xorg I get this error [2]. I have been searching on web but is still not clear for me if this is an issue or if I should proceed like this link [3] says. Any idea?
Yes, one of the packages you're attempting to install requires systemd as a dependency and so you would need to follow the instructions in that blog. You might still run into some issues even then, if you're trying to display X from the container on the host.
If you'd like, I have a centos-systemd container already built (following that blog post) that you could try.
a 'docker pull centos/c7-systemd' should get you what you need:
reference url: https://registry.hub.docker.com/u/centos/c7-systemd/
On 11/11/2014 12:11 PM, Jim Perrin wrote:
On 11/11/2014 04:51 AM, Wander Costa wrote:
Hi,
I have been trying to build a docker image to run unit tests for the B2G project [1]. However when I try to install Xorg I get this error [2]. I have been searching on web but is still not clear for me if this is an issue or if I should proceed like this link [3] says. Any idea?
Yes, one of the packages you're attempting to install requires systemd as a dependency and so you would need to follow the instructions in that blog. You might still run into some issues even then, if you're trying to display X from the container on the host.
If you'd like, I have a centos-systemd container already built (following that blog post) that you could try.
a 'docker pull centos/c7-systemd' should get you what you need:
reference url: https://registry.hub.docker.com/u/centos/c7-systemd/
We need to get systemd-container into the default centos image. We are working on this for RHEL7 also. That way these problems can be prevented and we can make it easier for people to run systemd within a container.
On 11/11/2014 12:45 PM, Daniel J Walsh wrote:
We need to get systemd-container into the default centos image. We are working on this for RHEL7 also. That way these problems can be prevented and we can make it easier for people to run systemd within a container.
If the source for it is public, I would happily do this, as the current systemd/fakesystemd issue causes a fair amount of breakage. Where can I pull systemd-container source/spec?
On 11/11/2014 02:17 PM, Jim Perrin wrote:
On 11/11/2014 12:45 PM, Daniel J Walsh wrote:
We need to get systemd-container into the default centos image. We are working on this for RHEL7 also. That way these problems can be prevented and we can make it easier for people to run systemd within a container.
If the source for it is public, I would happily do this, as the current systemd/fakesystemd issue causes a fair amount of breakage. Where can I pull systemd-container source/spec?
Jim work with Vaclav on this.
----- Mensagem original -----
De: "Jim Perrin" jperrin@centos.org Para: centos@centos.org Enviadas: Terça-feira, 11 de novembro de 2014 15:11:33 Assunto: Re: [CentOS] Xorg installation broken under docker
On 11/11/2014 04:51 AM, Wander Costa wrote:
Hi,
I have been trying to build a docker image to run unit tests for the B2G project [1]. However when I try to install Xorg I get this error [2]. I have been searching on web but is still not clear for me if this is an issue or if I should proceed like this link [3] says. Any idea?
Yes, one of the packages you're attempting to install requires systemd as a dependency and so you would need to follow the instructions in that blog. You might still run into some issues even then, if you're trying to display X from the container on the host.
If you'd like, I have a centos-systemd container already built (following that blog post) that you could try.
a 'docker pull centos/c7-systemd' should get you what you need:
reference url: https://registry.hub.docker.com/u/centos/c7-systemd/
Thanks, I will try that.
-- Jim Perrin The CentOS Project | http://www.centos.org twitter: @BitIntegrity | GPG Key: FA09AD77 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos