all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* problem with dockerd service
@ 2019-02-14 17:27 Giovanni Biscuolo
  2019-02-14 17:44 ` Danny Milosavljevic
  0 siblings, 1 reply; 3+ messages in thread
From: Giovanni Biscuolo @ 2019-02-14 17:27 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

Hi!

I'm trying to create a VM with a dockerd service installed

I'm using the same configuration as the one used in this bug #34333
http://issues.guix.info/issue/34333
except I removed gfs package gnome and desktop services

I get this error:
--8<---------------cut here---------------start------------->8---
$ guix system vm ../labs/configuration/docker-test.scm -r docker-test
guix system: error: service 'dockerd' requires 'file-system-/sys/fs/cgroup/blkio', which is not provided by any service
--8<---------------cut here---------------end--------------->8---

it this related to bug #34333 or it's a different issue?

Thanks!
Giovanni

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with dockerd service
  2019-02-14 17:27 problem with dockerd service Giovanni Biscuolo
@ 2019-02-14 17:44 ` Danny Milosavljevic
  2019-02-15 10:35   ` Giovanni Biscuolo
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2019-02-14 17:44 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]

Hi Giovanni,

On Thu, 14 Feb 2019 18:27:03 +0100
Giovanni Biscuolo <g@xelera.eu> wrote:

> I'm trying to create a VM with a dockerd service installed
> 
> I'm using the same configuration as the one used in this bug #34333
> http://issues.guix.info/issue/34333
> except I removed gfs package gnome and desktop services
> 
> I get this error:
> --8<---------------cut here---------------start------------->8---
> $ guix system vm ../labs/configuration/docker-test.scm -r docker-test
> guix system: error: service 'dockerd' requires 'file-system-/sys/fs/cgroup/blkio', which is not provided by any service
> --8<---------------cut here---------------end--------------->8---
> 
> it this related to bug #34333 or it's a different issue?

It's a different issue.

docker requires elogind.

I wonder why it doesn't complain about 'elogind' missing, though.

Please add elogind to your service definition.

If it's already there, that's weird, because elogind provides %control-groups,
which includes 'file-system-/sys/fs/cgroup/blkio'.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with dockerd service
  2019-02-14 17:44 ` Danny Milosavljevic
@ 2019-02-15 10:35   ` Giovanni Biscuolo
  0 siblings, 0 replies; 3+ messages in thread
From: Giovanni Biscuolo @ 2019-02-15 10:35 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

Hi Danny,

Danny Milosavljevic <dannym@scratchpost.org> writes:

[...]

> It's a different issue.
>
> docker requires elogind.

ah OK, I missed this!

would it be possible to "autoinstall" elogind service when using docker
in a service declaration?

in general: is it possible to "autoinstall" services dependencies?

> I wonder why it doesn't complain about 'elogind' missing, though.
>
> Please add elogind to your service definition.

it works! "guix system container..." and "guix system vm..." now both
completed the derivation

Thanks a lot!
Giovanni

[...]

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-15 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-14 17:27 problem with dockerd service Giovanni Biscuolo
2019-02-14 17:44 ` Danny Milosavljevic
2019-02-15 10:35   ` Giovanni Biscuolo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.