package rashell

  1. Overview
  2. Docs
type state = {
  1. state_error : string;
  2. state_exit_code : int;
  3. state_finished_at : string;
  4. state_started_at : string;
  5. state_pid : int;
  6. state_running : bool;
  7. state_restarting : bool;
  8. state_paused : bool;
  9. state_oomkilled : bool;
}
type config = {
  1. config_attach_stderr : bool;
  2. config_attach_stdout : bool;
  3. config_attach_stdin : bool;
  4. config_cmd : string list option;
  5. config_cpu_shares : int option;
  6. config_domainname : string;
  7. config_entrypoint : string Ag_util.ocaml_array option;
  8. config_env : string Ag_util.ocaml_array option;
  9. config_hostname : string;
  10. config_image : string;
  11. config_working_dir : string;
}
type image = {
  1. image_config : config option;
  2. image_id : string;
  3. image_comment : string;
  4. image_created : string;
  5. image_parent : string option;
  6. image_virtual_size : int;
  7. image_size : int;
  8. image_docker_version : string;
}
type images = image list
type container = {
  1. container_config : config;
  2. container_id : string;
  3. container_image : string;
  4. container_name : string;
  5. container_created : string;
  6. container_args : string list;
  7. container_path : string;
  8. container_restart_count : int;
  9. container_volumes : (string * string) list option;
  10. container_volumes_rw : (string * bool) list option;
  11. container_state : state;
}
type containers = container list
OCaml

Innovation. Community. Security.