unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* using docker in guix
@ 2021-06-03 17:05 Adam Kandur via
  0 siblings, 0 replies; 9+ messages in thread
From: Adam Kandur via @ 2021-06-03 17:05 UTC (permalink / raw)
  To: Help Guix

hi everyone! i've added docker-service-type but cannot user docker and get this error "930e243adc9721e53ace815c19ba216c58a8f6b2b1d40d8d970b16046fbba37a"



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

* using docker in guix
@ 2021-06-03 17:06 Adam Kandur via
  2021-06-03 17:19 ` Bone Baboon
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Kandur via @ 2021-06-03 17:06 UTC (permalink / raw)
  To: Help Guix

i'm sorry, i mean this error "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"



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

* Re: using docker in guix
  2021-06-03 17:06 using docker in guix Adam Kandur via
@ 2021-06-03 17:19 ` Bone Baboon
  2021-06-03 17:28   ` Adam Kandur via
  0 siblings, 1 reply; 9+ messages in thread
From: Bone Baboon @ 2021-06-03 17:19 UTC (permalink / raw)
  To: Adam Kandur; +Cc: help-guix

Adam Kandur via writes:

> i'm sorry, i mean this error "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"

You could try `sudo herd restart dockerd`.


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

* Re: using docker in guix
  2021-06-03 17:19 ` Bone Baboon
@ 2021-06-03 17:28   ` Adam Kandur via
  2021-06-03 18:51     ` Bone Baboon
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Kandur via @ 2021-06-03 17:28 UTC (permalink / raw)
  To: Bone Baboon; +Cc: Help Guix

Hi Bone,
thank you but this command didn't helped, i got 
```
Service dockerd could not be started.
herd: failed to start service dockerd
```




Jun 3, 2021, 17:19 by bone.baboon@disroot.org:

> Adam Kandur via writes:
>
>> i'm sorry, i mean this error "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
>>
>
> You could try `sudo herd restart dockerd`.
>



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

* Re: using docker in guix
  2021-06-03 17:28   ` Adam Kandur via
@ 2021-06-03 18:51     ` Bone Baboon
  2021-06-04 19:45       ` Adam Kandur via
  0 siblings, 1 reply; 9+ messages in thread
From: Bone Baboon @ 2021-06-03 18:51 UTC (permalink / raw)
  To: Adam Kandur; +Cc: Help Guix


Adam Kandur writes:

> Hi Bone,
> thank you but this command didn't helped, i got 
> ```
> Service dockerd could not be started.
> herd: failed to start service dockerd
> ```
> Jun 3, 2021, 17:19 by bone.baboon@disroot.org:
>
>> Adam Kandur via writes:
>>
>>> i'm sorry, i mean this error "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
>>>
>>
>> You could try `sudo herd restart dockerd`.
>>

Did you try running `sudo guix system reconfigure
/path/to/system/configuration.scm` before running `sudo herd restart
dockerd`?


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

* Re: using docker in guix
  2021-06-03 18:51     ` Bone Baboon
@ 2021-06-04 19:45       ` Adam Kandur via
  2021-06-04 23:27         ` Ricardo Wurmus
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Kandur via @ 2021-06-04 19:45 UTC (permalink / raw)
  To: Bone Baboon; +Cc: Help Guix

that's what i have in docker log


---------------------
time="2021-06-04T22:42:01.608529621+03:00" level=info msg="Starting up"
time="2021-06-04T22:42:01.617401481+03:00" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2021-06-04T22:42:01.617505718+03:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2021-06-04T22:42:01.617555322+03:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
time="2021-06-04T22:42:01.617594849+03:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
failed to start daemon: failed to dial "/run/containerd/containerd.sock": unknown service containerd.services.namespaces.v1.Namespaces: not implemented
time="2021-06-04T22:42:45.808007474+03:00" level=info msg="Starting up"
time="2021-06-04T22:42:45.812465107+03:00" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2021-06-04T22:42:45.812538632+03:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2021-06-04T22:42:45.812584087+03:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
time="2021-06-04T22:42:45.812624258+03:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
failed to start daemon: failed to dial "/run/containerd/containerd.sock": unknown service containerd.services.namespaces.v1.Namespaces: not implemented




Jun 3, 2021, 18:51 by bone.baboon@disroot.org:

>
> Adam Kandur writes:
>
>> Hi Bone,
>> thank you but this command didn't helped, i got 
>> ```
>> Service dockerd could not be started.
>> herd: failed to start service dockerd
>> ```
>> Jun 3, 2021, 17:19 by bone.baboon@disroot.org:
>>
>>> Adam Kandur via writes:
>>>
>>>> i'm sorry, i mean this error "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
>>>>
>>>
>>> You could try `sudo herd restart dockerd`.
>>>
>
> Did you try running `sudo guix system reconfigure
> /path/to/system/configuration.scm` before running `sudo herd restart
> dockerd`?
>



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

* Re: using docker in guix
  2021-06-04 19:45       ` Adam Kandur via
@ 2021-06-04 23:27         ` Ricardo Wurmus
  2021-06-05 12:59           ` Adam Kandur via
  0 siblings, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2021-06-04 23:27 UTC (permalink / raw)
  To: Adam Kandur; +Cc: help-guix


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

> that's what i have in docker log
>
>
> ---------------------
> time="2021-06-04T22:42:01.608529621+03:00" level=info 
> msg="Starting up"
> time="2021-06-04T22:42:01.617401481+03:00" level=info 
> msg="parsed scheme: \"unix\"" module=grpc
> time="2021-06-04T22:42:01.617505718+03:00" level=info 
> msg="scheme \"unix\" not registered, fallback to default scheme" 
> module=grpc
> time="2021-06-04T22:42:01.617555322+03:00" level=info 
> msg="ccResolverWrapper: sending update to cc: 
> {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}" 
> module=grpc
> time="2021-06-04T22:42:01.617594849+03:00" level=info 
> msg="ClientConn switching balancer to \"pick_first\"" 
> module=grpc
> failed to start daemon: failed to dial 
> "/run/containerd/containerd.sock": unknown service 
> containerd.services.namespaces.v1.Namespaces: not implemented
> time="2021-06-04T22:42:45.808007474+03:00" level=info 
> msg="Starting up"
> time="2021-06-04T22:42:45.812465107+03:00" level=info 
> msg="parsed scheme: \"unix\"" module=grpc
> time="2021-06-04T22:42:45.812538632+03:00" level=info 
> msg="scheme \"unix\" not registered, fallback to default scheme" 
> module=grpc
> time="2021-06-04T22:42:45.812584087+03:00" level=info 
> msg="ccResolverWrapper: sending update to cc: 
> {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}" 
> module=grpc
> time="2021-06-04T22:42:45.812624258+03:00" level=info 
> msg="ClientConn switching balancer to \"pick_first\"" 
> module=grpc
> failed to start daemon: failed to dial 
> "/run/containerd/containerd.sock": unknown service 
> containerd.services.namespaces.v1.Namespaces: not implemented

You need to start containerd.

-- 
Ricardo


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

* Re: using docker in guix
  2021-06-04 23:27         ` Ricardo Wurmus
@ 2021-06-05 12:59           ` Adam Kandur via
  2021-06-05 21:36             ` Orhan Kemal Yüksel
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Kandur via @ 2021-06-05 12:59 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Help Guix

Hi, Ricardo!
Actually, containerd is started on my system (at least herd status tells me that).




Jun 4, 2021, 23:27 by rekado@elephly.net:

>
> Adam Kandur via <help-guix@gnu.org> writes:
>
>> that's what i have in docker log
>>
>>
>> ---------------------
>> time="2021-06-04T22:42:01.608529621+03:00" level=info msg="Starting up"
>> time="2021-06-04T22:42:01.617401481+03:00" level=info msg="parsed scheme: \"unix\"" module=grpc
>> time="2021-06-04T22:42:01.617505718+03:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
>> time="2021-06-04T22:42:01.617555322+03:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
>> time="2021-06-04T22:42:01.617594849+03:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
>> failed to start daemon: failed to dial "/run/containerd/containerd.sock": unknown service containerd.services.namespaces.v1.Namespaces: not implemented
>> time="2021-06-04T22:42:45.808007474+03:00" level=info msg="Starting up"
>> time="2021-06-04T22:42:45.812465107+03:00" level=info msg="parsed scheme: \"unix\"" module=grpc
>> time="2021-06-04T22:42:45.812538632+03:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
>> time="2021-06-04T22:42:45.812584087+03:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
>> time="2021-06-04T22:42:45.812624258+03:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
>> failed to start daemon: failed to dial "/run/containerd/containerd.sock": unknown service containerd.services.namespaces.v1.Namespaces: not implemented
>>
>
> You need to start containerd.
>
> -- 
> Ricardo
>



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

* Re: using docker in guix
  2021-06-05 12:59           ` Adam Kandur via
@ 2021-06-05 21:36             ` Orhan Kemal Yüksel
  0 siblings, 0 replies; 9+ messages in thread
From: Orhan Kemal Yüksel @ 2021-06-05 21:36 UTC (permalink / raw)
  To: help-guix

Maybe try to kill the containerd-process manually and then restart it
with herd (`herd start containerd`)?

Good luck!


2021-06-05 / 14:59 / help-guix@gnu.org:

> Hi, Ricardo!
> Actually, containerd is started on my system (at least herd status tells me that).
>
>
>
>
> Jun 4, 2021, 23:27 by rekado@elephly.net:
>
>>
>> Adam Kandur via <help-guix@gnu.org> writes:
>>
>>> that's what i have in docker log
>>>
>>>
>>> ---------------------
>>> time="2021-06-04T22:42:01.608529621+03:00" level=info msg="Starting up"
>>> time="2021-06-04T22:42:01.617401481+03:00" level=info msg="parsed scheme: \"unix\"" module=grpc
>>> time="2021-06-04T22:42:01.617505718+03:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
>>> time="2021-06-04T22:42:01.617555322+03:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
>>> time="2021-06-04T22:42:01.617594849+03:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
>>> failed to start daemon: failed to dial "/run/containerd/containerd.sock": unknown service containerd.services.namespaces.v1.Namespaces: not implemented
>>> time="2021-06-04T22:42:45.808007474+03:00" level=info msg="Starting up"
>>> time="2021-06-04T22:42:45.812465107+03:00" level=info msg="parsed scheme: \"unix\"" module=grpc
>>> time="2021-06-04T22:42:45.812538632+03:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
>>> time="2021-06-04T22:42:45.812584087+03:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
>>> time="2021-06-04T22:42:45.812624258+03:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
>>> failed to start daemon: failed to dial "/run/containerd/containerd.sock": unknown service containerd.services.namespaces.v1.Namespaces: not implemented
>>>
>>
>> You need to start containerd.
>>
>> -- 
>> Ricardo
>>



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

end of thread, other threads:[~2021-06-06 18:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 17:06 using docker in guix Adam Kandur via
2021-06-03 17:19 ` Bone Baboon
2021-06-03 17:28   ` Adam Kandur via
2021-06-03 18:51     ` Bone Baboon
2021-06-04 19:45       ` Adam Kandur via
2021-06-04 23:27         ` Ricardo Wurmus
2021-06-05 12:59           ` Adam Kandur via
2021-06-05 21:36             ` Orhan Kemal Yüksel
  -- strict thread matches above, loose matches on Subject: below --
2021-06-03 17:05 Adam Kandur via

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