add docker support and udp proto in redirs
This commit is contained in:
parent
6a77e1294e
commit
39d75031ba
5 changed files with 35 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/env -S deno run -A --unstable
|
||||
|
||||
import { daemon_send, new_cmd_disable, new_cmd_enable, new_cmd_status, new_cmd_stop } from "./src/lib.ts";
|
||||
import { load_all_configs, new_container_config, save_container_config } from "./src/lib/config.ts";
|
||||
import { load_all_container_configs, new_container_config, save_container_config } from "./src/lib/config.ts";
|
||||
import { load_base, new_container_context } from "./src/lib/create.ts";
|
||||
import { container_paths, socket_path } from "./src/lib/paths.ts";
|
||||
import { log_from, run } from "./src/lib/utils.ts";
|
||||
|
@ -78,7 +78,7 @@ Commands:
|
|||
export async function create(name: string, base_name: string) {
|
||||
log("loading base", base_name);
|
||||
const base = await load_base(base_name);
|
||||
const known_containers = await load_all_configs();
|
||||
const known_containers = await load_all_container_configs();
|
||||
|
||||
const paths = container_paths(name);
|
||||
await Deno.mkdir(paths.base);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue