unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* how to run docker?
@ 2020-03-12 21:42 Adam Kandur via
  2020-03-12 22:04 ` Adam Kandur via
  2020-03-17  7:14 ` Giovanni Biscuolo
  0 siblings, 2 replies; 4+ messages in thread
From: Adam Kandur via @ 2020-03-12 21:42 UTC (permalink / raw)
  To: Help Guix

hi, guixers!
Sorry for newbe question. 
How yo run docker service after installation docker package?

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

* Re: how to run docker?
  2020-03-12 21:42 Adam Kandur via
@ 2020-03-12 22:04 ` Adam Kandur via
  2020-03-17  7:14 ` Giovanni Biscuolo
  1 sibling, 0 replies; 4+ messages in thread
From: Adam Kandur via @ 2020-03-12 22:04 UTC (permalink / raw)
  To: Help Guix

i really tried to find manual for this topic -_-



Mar 12, 2020, 21:42 by rndd@tuta.io:

> hi, guixers!
> Sorry for newbe question. 
> How yo run docker service after installation docker package?
>
>

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

* Re:  how to run docker?
@ 2020-03-12 22:15 John Soo
  0 siblings, 0 replies; 4+ messages in thread
From: John Soo @ 2020-03-12 22:15 UTC (permalink / raw)
  To: Adam Kandur; +Cc: Help Guix

Hi Adam,

You will also need the dockerd service in you system configuration, plus there is a known bug where a known module is not loaded by default. Should dockerd not start properly you will need to do the following:

sudo modprobe overlay
sudo herd restart dockerd

Good luck,

John

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

* Re: how to run docker?
  2020-03-12 21:42 Adam Kandur via
  2020-03-12 22:04 ` Adam Kandur via
@ 2020-03-17  7:14 ` Giovanni Biscuolo
  1 sibling, 0 replies; 4+ messages in thread
From: Giovanni Biscuolo @ 2020-03-17  7:14 UTC (permalink / raw)
  To: Adam Kandur, Help Guix

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

Hi Adam,

Adam Kandur via <help-guix@gnu.org> writes:

> hi, guixers!
> Sorry for newbe question. 
> How yo run docker service after installation docker package?

you don't need to install the package, you just need to configure your
service (packages will be automatically installed in the system profile)

The documentation is here:
https://guix.gnu.org/manual/en/guix.html#Miscellaneous-Services

This is what I did in my config.scm: 

--8<---------------cut here---------------start------------->8---

[...]
  (services
    (append
     (list 
[...]

	   (service ntp-service-type) ;; clock **must** be in sysc

	   (elogind-service) ;; needed by docker-service
	   (dbus-service) ;; needed by docker-service
           (service docker-service-type)
[...]

--8<---------------cut here---------------end--------------->8---

Clock must be in sync in general, I don't remember if this is also a
requirement for docker (probably not, but it was for sure for other
services)

HTH! Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

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

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

end of thread, other threads:[~2020-03-17  7:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12 22:15 how to run docker? John Soo
  -- strict thread matches above, loose matches on Subject: below --
2020-03-12 21:42 Adam Kandur via
2020-03-12 22:04 ` Adam Kandur via
2020-03-17  7:14 ` Giovanni Biscuolo

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).