add command works ,fix warnings, proxy repaired, docker start arguments defined
This commit is contained in:
10
src/lib.rs
10
src/lib.rs
@ -1,16 +1,6 @@
|
||||
use bollard::Docker;
|
||||
|
||||
|
||||
use std::env;
|
||||
|
||||
use std::sync::LazyLock;
|
||||
|
||||
|
||||
use diesel::PgConnection;
|
||||
use diesel::r2d2::{
|
||||
Pool,
|
||||
ConnectionManager
|
||||
};
|
||||
|
||||
pub static mut DOCKER: LazyLock<Docker> = LazyLock::new(|| Docker::connect_with_local_defaults().expect("Failed to connect to the docker socket") );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user