Can Guix Replace Docker Compose? - System Crafters Live!

2024-05-24T15:00:00Z

1 Like

The jellyfin oci-container-service-type worked for me, but after the lates pull/reconfigure not anymore. I am pretty sure I didn’t change anything to my system config, but maybe I’m wrong. Could someone confirm?

With a service similar to https://youtu.be/o7-Ga1ZoLds?t=1362 I now get this on reconfigure:

(service oci-container-service-type
                  (list
                   (oci-container-configuration
                    (image "jellyfin/jellyfin")
                    (provision "jellyfin")
                    ;; (network "host")
                    (ports
                     '(("8096" . "8096")))
                    (volumes
                     '("jellyfin-config:/config"
                       "jellyfin-cache:/cache"
                       "/mnt/nas/kyris:/media")))))
Backtrace:
In srfi/srfi-1.scm:
   586:29 19 (map1 (#<<service> type: #<service-type agetty 7f3ec…> …))
   586:29 18 (map1 (#<<service> type: #<service-type syslog 7f3ec…> …))
   586:29 17 (map1 (#<<service> type: #<service-type console-font…> …))
   586:29 16 (map1 (#<<service> type: #<service-type virtual-term…> …))
   586:29 15 (map1 (#<<service> type: #<service-type x11-socket-d…> …))
   586:29 14 (map1 (#<<service> type: #<service-type ntp 7f3ec48a…> …))
   586:29 13 (map1 (#<<service> type: #<service-type dbus 7f3ec48…> …))
   586:29 12 (map1 (#<<service> type: #<service-type elogind 7f3e…> …))
   586:29 11 (map1 (#<<service> type: #<service-type upower 7f3ec…> …))
   586:29 10 (map1 (#<<service> type: #<service-type avahi 7f3ec4…> …))
   586:29  9 (map1 (#<<service> type: #<service-type wpa-supplica…> …))
   586:29  8 (map1 (#<<service> type: #<service-type network-mana…> …))
   586:29  7 (map1 (#<<service> type: #<service-type gdm 7f3ec4ba…> …))
   586:17  6 (map1 (#<<service> type: #<service-type oci-containe…> …))
   586:17  5 (map1 (#<<oci-container-configuration> user: "oci-cont…>))
In gnu/services/docker.scm:
   691:38  4 (oci-container-shepherd-service _)
   631:17  3 (%oci-image-loader "jellyfin" "jellyfin/jellyfin" "jell…")
   599:16  2 (lower-oci-image "jellyfin" "jellyfin/jellyfin")
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): "jellyfin/jellyfin"

A fix for this got pushed to the main Guix channel yesterday, try pulling and apply the config again! Worked for me after that.

Ah, yes. Fixed :slight_smile: Thanks