feat: Docker Host env, closes #30

oxker will check for an optional cli_arg `--host`, then the $DOCKER_HOST env, and if found use for connection.

Fix unresponsiveness in debug mode when error set
This commit is contained in:
Jack Wills
2023-07-31 13:33:58 +00:00
parent 9903b78b1c
commit 1095078764
3 changed files with 53 additions and 11 deletions
+1 -1
View File
@@ -448,7 +448,7 @@ impl DockerData {
gui_state: Arc<Mutex<GuiState>>,
is_running: Arc<AtomicBool>,
) {
let args = app_data.lock().args;
let args = app_data.lock().args.clone();
if app_data.lock().get_error().is_none() {
let mut inner = Self {
app_data,