Files
dockermcmgr/src/lib.rs

7 lines
232 B
Rust

use bollard::Docker;
use std::sync::LazyLock;
pub static mut DOCKER: LazyLock<Docker> = LazyLock::new(|| Docker::connect_with_local_defaults().expect("Failed to connect to the docker socket") );
pub static mut DB_CONN: LazyLock<