Hi all,
just joined here, so I couldn't reply to the actual actual email, I
copied the below message from the archive to this email
On 4/18/23 02:05, Jack Hill wrote:
I then load that into docker: `docker load < /gnu/store/…tar.gz`, and
run it with `docker run guix`.
So far, so good. However, ssh-daemon and postgres don't start. If I
then get a shell in the running container with `docker exec -ti …
/bin/sh`, I can see that `herd status` reports that those services are
stopped. Trying to start either service fails:
```
sh-5.1# herd start ssh-daemon
herd: exception caught while executing 'start' on service 'loopback':
Throw to key `%exception' with args `("#<&netlink-response-error errno:
1>")'.
sh-5.1# herd start postgres
herd: exception caught while executing 'start' on service 'loopback':
Throw to key `%exception' with args `("#<&netlink-response-error errno:
1>")'.
I tried something similar and got the same error message, though I used
podman instead of docker. But anyways, I was able to get it to work by
building the container image with --network flag:
guix system image --network --image-type=docker filename.scm
Hope this helps.
Best wishes,
Markku