Mercurial > core / lisp/lib/pod/podman.lisp
changeset 388: |
dec30b6fd500 |
parent: |
5a0bc297ede3
|
child: |
9fa3b9154bb2 |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Fri, 31 May 2024 18:18:12 -0400 |
permissions: |
-rw-r--r-- |
description: |
prelude/user packages init |
1 ;;; lib/pod/podman.lisp --- Pod Manager 8 (defvar *podman-exe* (find-exe "podman")) 10 ;; podman system service --time=0 unix:///tmp/podman.sock (local-socket) 11 ;; podman system service --time=0 tcp://localhost:8888 (inet-socket :stream :tcp) 12 (defun podman-run-command ()) 14 (defun start-podman-service (addr &optional (protocol :unix) (time 0)) 15 "Start the Libpod API on ADDR over PROTO which is either :TCP or :UNIX." 16 (declare ((member :unix :tcp) protocol)) 17 (sb-ext:run-program *podman-exe* `("system" 19 ,(format nil "~(~a~)://~a" protocol addr) 20 ,(format nil "--time=~a" time))))