pub struct SystemInfo {Show 21 fields
pub server_version: String,
pub storage_driver: String,
pub logging_driver: String,
pub cgroup_driver: String,
pub cgroup_version: String,
pub containers: u32,
pub containers_running: u32,
pub containers_paused: u32,
pub containers_stopped: u32,
pub images: u32,
pub docker_root_dir: String,
pub debug: bool,
pub experimental: bool,
pub mem_total: u64,
pub ncpu: u32,
pub operating_system: String,
pub os_type: String,
pub architecture: String,
pub kernel_version: String,
pub name: String,
pub id: String,
}
Expand description
Docker system information
Fields§
§server_version: String
Docker server version
storage_driver: String
Storage driver in use
logging_driver: String
Logging driver
cgroup_driver: String
Cgroup driver
cgroup_version: String
Cgroup version
containers: u32
Number of containers
containers_running: u32
Number of running containers
containers_paused: u32
Number of paused containers
containers_stopped: u32
Number of stopped containers
images: u32
Number of images
docker_root_dir: String
Docker root directory
debug: bool
Debug mode enabled
experimental: bool
Experimental features enabled
mem_total: u64
Total memory
ncpu: u32
Number of CPUs
operating_system: String
Operating system
os_type: String
OS type
architecture: String
Architecture
kernel_version: String
Kernel version
name: String
Name (hostname)
id: String
Docker daemon ID
Trait Implementations§
Source§impl Clone for SystemInfo
impl Clone for SystemInfo
Source§fn clone(&self) -> SystemInfo
fn clone(&self) -> SystemInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SystemInfo
impl Debug for SystemInfo
Source§impl PartialEq for SystemInfo
impl PartialEq for SystemInfo
impl StructuralPartialEq for SystemInfo
Auto Trait Implementations§
impl Freeze for SystemInfo
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnwindSafe for SystemInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more