Fork me on GitHub
#docker
<
2024-06-07
>
plexus11:06:32

Anyone have an example with a mounted file/directory?

lispyclouds11:06:18

of the top of my mind, something like this:

(c/invoke docker
          {:op :ContainerCreate
           :params {:name "conny"}
           :data {:Image "busybox:musl"
                   :Cmd   ["ls"]
                   :HostConfig {:Binds ["host-path:container-path"]}}})

👍 1