Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crates/openshell-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ use openshell_core::{ComputeDriverKind, Config, Error, Result};
use std::collections::HashMap;
use std::io::ErrorKind;
use std::net::SocketAddr;
use std::path::PathBuf;
use std::sync::{Arc, Mutex};
use std::time::Duration;
use tokio::net::{TcpListener, TcpStream};
Expand Down Expand Up @@ -628,6 +629,9 @@ async fn build_compute_runtime(
ComputeDriverKind::Podman => {
let mut podman = podman_config_from_file(file)?;
podman.gateway_port = config.bind_address.port();
if let Ok(p) = std::env::var("OPENSHELL_PODMAN_SOCKET") {
podman.socket_path = PathBuf::from(p);
}
apply_podman_local_tls_defaults(config, &mut podman)?;

ComputeRuntime::new_podman(
Expand Down
Loading