* docker
@ 2019-11-14 14:54 rndd
2019-11-14 16:58 ` docker zimoun
2019-11-16 18:18 ` docker Efraim Flashner
0 siblings, 2 replies; 7+ messages in thread
From: rndd @ 2019-11-14 14:54 UTC (permalink / raw)
To: Help Guix
how to install docker, run dockerd and use these in guix?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: docker
2019-11-14 14:54 docker rndd
@ 2019-11-14 16:58 ` zimoun
2019-11-14 17:01 ` docker zimoun
2019-11-16 18:18 ` docker Efraim Flashner
1 sibling, 1 reply; 7+ messages in thread
From: zimoun @ 2019-11-14 16:58 UTC (permalink / raw)
To: rndd; +Cc: Help Guix
Hi,
On Thu, 14 Nov 2019 at 15:55, <rndd@tuta.io> wrote:
> how to install docker, run dockerd and use these in guix?
Are you using Guix on the top of a foreign distro?
Or are you using Guix System?
Do you experiment issue with "guix package -i docker"?
All the best,
simon
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: docker
2019-11-14 16:58 ` docker zimoun
@ 2019-11-14 17:01 ` zimoun
0 siblings, 0 replies; 7+ messages in thread
From: zimoun @ 2019-11-14 17:01 UTC (permalink / raw)
To: rndd; +Cc: Help Guix
On Thu, 14 Nov 2019 at 17:58, zimoun <zimon.toutoune@gmail.com> wrote:
> Do you experiment issue with "guix package -i docker"?
And with "guix package -i docker-cli"?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: docker
2019-11-14 14:54 docker rndd
2019-11-14 16:58 ` docker zimoun
@ 2019-11-16 18:18 ` Efraim Flashner
[not found] ` <Ltt3MzU--3-1@tuta.io>
1 sibling, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2019-11-16 18:18 UTC (permalink / raw)
To: rndd; +Cc: Help Guix
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
On Thu, Nov 14, 2019 at 03:54:13PM +0100, rndd@tuta.io wrote:
> how to install docker, run dockerd and use these in guix?
We have a docker service that runs dockerd
http://guix.gnu.org/manual/devel/en/html_node/Miscellaneous-Services.html#Miscellaneous-Services
Other than that, you'll want the docker-cli package for the actual
'docker' command.
--
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] 7+ messages in thread
* Re: docker
[not found] ` <Ltt3MzU--3-1@tuta.io>
@ 2019-11-17 19:17 ` Efraim Flashner
0 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2019-11-17 19:17 UTC (permalink / raw)
To: rndd; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]
I'm not sure what nixos-option is, but everything should be documented
in the manual. For Guix System that'd be mostly here: http://guix.gnu.org/manual/devel/en/html_node/System-Configuration.html#System-Configuration
On Sun, Nov 17, 2019 at 12:13:41PM +0100, rndd@tuta.io wrote:
> do you know where find all system options (like nixos-option in NixOS)?
>
> Nov 16, 2019, 21:18 by efraim@flashner.co.il:
>
> > On Thu, Nov 14, 2019 at 03:54:13PM +0100, rndd@tuta.io wrote:
> >
> >> how to install docker, run dockerd and use these in guix?
> >>
> >
> > We have a docker service that runs dockerd
> > http://guix.gnu.org/manual/devel/en/html_node/Miscellaneous-Services.html#Miscellaneous-Services
> >
> > Other than that, you'll want the docker-cli package for the actual
> > 'docker' command.
> >
> > --
> > 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
> >
>
--
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] 7+ messages in thread
* docker
@ 2020-07-10 10:17 Roy Lemmon
2020-07-10 12:09 ` docker Ricardo Wurmus
0 siblings, 1 reply; 7+ messages in thread
From: Roy Lemmon @ 2020-07-10 10:17 UTC (permalink / raw)
To: help-guix
Hi,
I would like to run a docker application on my guix system. However I need
to have the docker daemon running. Do I simply add this to my config.scm
file e.g:
(use-modules (gnu) (docker) )
Thanks
Roy.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: docker
2020-07-10 10:17 docker Roy Lemmon
@ 2020-07-10 12:09 ` Ricardo Wurmus
0 siblings, 0 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2020-07-10 12:09 UTC (permalink / raw)
To: Roy Lemmon; +Cc: help-guix
Hi Roy,
> I would like to run a docker application on my guix system. However I need
> to have the docker daemon running. Do I simply add this to my config.scm
> file e.g:
>
> (use-modules (gnu) (docker) )
No, this would load the (gnu) module and the non-existant (docker)
module. If we had a (docker) module this still wouldn’t do what you
want, as it would only make code available.
Please take a look at the Guix manual. In section “8.8.31 Miscellaneous
Services” there is a heading “Docker Service” (I found this by hitting
“i” for “index” in my Info reader, followed by “docker”). It says this:
--8<---------------cut here---------------start------------->8---
The ‘(gnu services docker)’ module provides the following services.
-- Scheme Variable: docker-service-type
This is the type of the service that runs Docker
(https://www.docker.com), a daemon that can execute application
bundles (sometimes referred to as “containers”) in isolated
environments.
-- Data Type: docker-configuration
This is the data type representing the configuration of Docker and
Containerd.
‘package’ (default: ‘docker’)
The Docker package to use.
‘containerd’ (default: CONTAINERD)
The Containerd package to use.
‘proxy’ (default DOCKER-LIBNETWORK-CMD-PROXY)
The Docker user-land networking proxy package to use.
‘enable-proxy?’ (default ‘#f’)
Enable or disable the use of the Docker user-land networking
proxy.
‘debug?’ (default ‘#f’)
Enable or disable debug output.
--8<---------------cut here---------------end--------------->8---
This is from a section on system services, so you’ll need to add
something like this to your configuration file:
--8<---------------cut here---------------start------------->8---
(use-modules (gnu services docker))
…
(operating-system
…
(services (cons* (service …)
(service …)
…
(service docker-service-type
(docker-configuration
(debug? #t)))
…))
…)
--8<---------------cut here---------------end--------------->8---
If you don’t need any extra configuration “(service
docker-service-type)” should be sufficient.
--
Ricardo
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-07-10 12:10 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-14 14:54 docker rndd
2019-11-14 16:58 ` docker zimoun
2019-11-14 17:01 ` docker zimoun
2019-11-16 18:18 ` docker Efraim Flashner
[not found] ` <Ltt3MzU--3-1@tuta.io>
2019-11-17 19:17 ` docker Efraim Flashner
-- strict thread matches above, loose matches on Subject: below --
2020-07-10 10:17 docker Roy Lemmon
2020-07-10 12:09 ` docker Ricardo Wurmus
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).