package bistro
A library to build and run distributed scientific workflows
Install
Dune Dependency
Authors
Maintainers
Sources
bistro-0.6.0.tbz
sha256=146177faaaa9117a8e2bf0fd60cb658662c0aa992f35beb246e6fd0766050e66
sha512=553fe0c20f236316449b077a47e6e12626d193ba1916e9da233e5526dd39090e8677277e1c79baace3bdc940cb009f25431730a8efc00ae4ed9cc42a0add9609
doc/src/bistro.engine/docker.ml.html
Source file docker.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
open Core open Bistro_internals let mount_options ~host_paths ~container_paths = List.map2_exn host_paths container_paths ~f:(fun h c -> sprintf "-v %s:%s" h c ) |> String.concat ~sep:" " let image_url (image : Workflow.Docker_image.t) = sprintf "%s%s/%s%s" (Option.value_map ~default:"" ~f:(sprintf "%s/") image.registry) image.account image.name (Option.value_map ~default:"" ~f:(sprintf ":%s") image.tag) let chown_command ~path:dir ~uid = sprintf "docker run --log-driver=none --rm -v %s:/bistro -i busybox chown -R %d /bistro" dir uid
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>