unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* service 'dockerd' requires 'dbus-system', which is not provided by any service
@ 2019-11-18 17:36 Giovanni Biscuolo
  2019-11-18 18:18 ` Giovanni Biscuolo
  0 siblings, 1 reply; 3+ messages in thread
From: Giovanni Biscuolo @ 2019-11-18 17:36 UTC (permalink / raw)
  To: help-guix

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

Hello Guix!

I'd like to use the docker-service-type so I added this

--8<---------------cut here---------------start------------->8---
(service docker-service-type)
--8<---------------cut here---------------end--------------->8---

to my config.scm but if I try to

--8<---------------cut here---------------start------------->8---
sudo guix system reconfigure /etc/config.scm
--8<---------------cut here---------------end--------------->8---

I get this error:

--8<---------------cut here---------------start------------->8---
guix system: error: service 'dockerd' requires 'dbus-system', which is not provided by any service
--8<---------------cut here---------------end--------------->8---

What do I miss plz?

Thanks! Gio'

-- 
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: service 'dockerd' requires 'dbus-system', which is not provided by any service
  2019-11-18 17:36 service 'dockerd' requires 'dbus-system', which is not provided by any service Giovanni Biscuolo
@ 2019-11-18 18:18 ` Giovanni Biscuolo
  2019-11-19  7:28   ` Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Giovanni Biscuolo @ 2019-11-18 18:18 UTC (permalink / raw)
  To: help-guix

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

Hello,

reply to self...

Giovanni Biscuolo <g@xelera.eu> writes:


[...]

> What do I miss plz?

I had to install also elogind and dbus services:

--8<---------------cut here---------------start------------->8---
(use-service-modules [...] desktop dbus docker)

[...]
  
(elogind-service) ;; needed by docker-service, in desktop service-module
(dbus-service) ;; needed by docker-service, in dbus service-module
(service docker-service-type)
--8<---------------cut here---------------end--------------->8---

Do we need to add a note on the manual or is a bug in
docker-service-type (in that case I'm willing to open the bug report)?

Thanks! Gio'

-- 
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: service 'dockerd' requires 'dbus-system', which is not provided by any service
  2019-11-18 18:18 ` Giovanni Biscuolo
@ 2019-11-19  7:28   ` Efraim Flashner
  0 siblings, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2019-11-19  7:28 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: help-guix

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

On Mon, Nov 18, 2019 at 07:18:59PM +0100, Giovanni Biscuolo wrote:
> Hello,
> 
> reply to self...
> 
> Giovanni Biscuolo <g@xelera.eu> writes:
> 
> 
> [...]
> 
> > What do I miss plz?
> 
> I had to install also elogind and dbus services:
> 
> --8<---------------cut here---------------start------------->8---
> (use-service-modules [...] desktop dbus docker)
> 
> [...]
>   
> (elogind-service) ;; needed by docker-service, in desktop service-module
> (dbus-service) ;; needed by docker-service, in dbus service-module
> (service docker-service-type)
> --8<---------------cut here---------------end--------------->8---
> 
> Do we need to add a note on the manual or is a bug in
> docker-service-type (in that case I'm willing to open the bug report)?
> 

A note in the manual would probably be enough. I also came across this
when I was trying to use docker in a VM.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

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

end of thread, other threads:[~2019-11-19  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-18 17:36 service 'dockerd' requires 'dbus-system', which is not provided by any service Giovanni Biscuolo
2019-11-18 18:18 ` Giovanni Biscuolo
2019-11-19  7:28   ` Efraim Flashner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).