help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to run docker?


From: Giovanni Biscuolo
Subject: Re: how to run docker?
Date: Tue, 17 Mar 2020 08:14:04 +0100

Hi Adam,

Adam Kandur via <address@hidden> 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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]