package rashell

  1. Overview
  2. Docs
type restart_policy =
  1. | Restart_No
  2. | Restart_Always
  3. | Restart_On_failure of int
val ps : unit -> Rashell_Docker_t.container list Lwt.t
val images : unit -> Rashell_Docker_t.image list Lwt.t
val tags : unit -> (string * (string * string) list) list Lwt.t
val stop : string list -> unit Lwt.t
val rm : string list -> unit Lwt.t
val rmi : string list -> unit Lwt.t
val restart : string list -> unit Lwt.t
val run : ?add_host:(string * string) list -> ?cap_add:string list -> ?cap_drop:string list -> ?env:string array -> ?device:string list -> ?entrypoint:string -> ?expose:string list -> ?hostname:string -> ?link:string list -> ?memory:int -> ?publish:(int * int) list -> ?tty:bool -> ?user:string -> ?uid:int -> ?privileged:bool -> ?restart:restart_policy -> ?argv:string array -> string -> string Lwt.t
val run_utility : ?add_host:(string * string) list -> ?cap_add:string list -> ?cap_drop:string list -> ?env:string array -> ?device:string list -> ?entrypoint:string -> ?expose:string list -> ?hostname:string -> ?link:string list -> ?memory:int -> ?publish:(int * int) list -> ?tty:bool -> ?user:string -> ?uid:int -> ?privileged:bool -> ?restart:restart_policy -> ?argv:string array -> string -> string Lwt.t
val run_query : ?add_host:(string * string) list -> ?cap_add:string list -> ?cap_drop:string list -> ?env:string array -> ?device:string list -> ?entrypoint:string -> ?expose:string list -> ?hostname:string -> ?link:string list -> ?memory:int -> ?publish:(int * int) list -> ?tty:bool -> ?user:string -> ?uid:int -> ?privileged:bool -> ?restart:restart_policy -> ?argv:string array -> string -> string Lwt_stream.t
val run_test : ?add_host:(string * string) list -> ?cap_add:string list -> ?cap_drop:string list -> ?env:string array -> ?device:string list -> ?entrypoint:string -> ?expose:string list -> ?hostname:string -> ?link:string list -> ?memory:int -> ?publish:(int * int) list -> ?tty:bool -> ?user:string -> ?uid:int -> ?privileged:bool -> ?restart:restart_policy -> ?argv:string array -> string -> bool Lwt.t
val run_shell : ?add_host:(string * string) list -> ?cap_add:string list -> ?cap_drop:string list -> ?env:string array -> ?device:string list -> ?entrypoint:string -> ?expose:string list -> ?hostname:string -> ?link:string list -> ?memory:int -> ?publish:(int * int) list -> ?tty:bool -> ?user:string -> ?uid:int -> ?privileged:bool -> ?restart:restart_policy -> ?argv:string array -> string -> unit Lwt.t
OCaml

Innovation. Community. Security.