small rms

This commit is contained in:
2026-04-25 18:31:22 -04:00
parent 85fee78990
commit b89bfa5315
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -1,7 +1,5 @@
import { DockerSC } from "./src/interface/docker";
console.log("Hello via Bun!");
const containers = await DockerSC.PS();
containers.forEach(container => {
console.log(`Name: ${container.Names}`)
+1 -1
View File
@@ -17,7 +17,7 @@ const SC_ContainerInfo = z.object({
state: z.unknown(),
created: z.date(),
})
type SC_ContainerInfoT = typeof SC_ContainerInfo;
type SC_ContainerInfoT = z.infer<typeof SC_ContainerInfo>;
async function PS (){
const result = $`docker ps -a --format json`