unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: Adam Kandur <rndd@tuta.io>, Help Guix <help-guix@gnu.org>
Subject: Re: how to run docker?
Date: Tue, 17 Mar 2020 08:14:04 +0100	[thread overview]
Message-ID: <87k13jjvwj.fsf@roquette.mug.biscuolo.net> (raw)
In-Reply-To: <M2FglN4--3-2@tuta.io>

[-- 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 --]

  parent reply	other threads:[~2020-03-17  7:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12 21:42 how to run docker? Adam Kandur via
2020-03-12 22:04 ` Adam Kandur via
2020-03-17  7:14 ` Giovanni Biscuolo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-12 22:15 John Soo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k13jjvwj.fsf@roquette.mug.biscuolo.net \
    --to=g@xelera.eu \
    --cc=help-guix@gnu.org \
    --cc=rndd@tuta.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).