]> PHS Git Server - phs-api.git/commitdiff
Testing get docker containers path.
authorcharleswrayjr <charleswrayjr@gmail.com>
Sat, 6 Sep 2025 01:39:20 +0000 (20:39 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Sat, 6 Sep 2025 01:39:20 +0000 (20:39 -0500)
src/controllers/docker.controller.js

index f9b42effb1f38b7998806f395be0cea627172514..4cd990b0677105563520bdd647520ea6c7aea620 100644 (file)
@@ -1,4 +1,6 @@
 const { Client } = require( 'ssh2' );
+const Docker = require('dockerode');
+const docker = new Docker();
 
 module.exports = {
   stopContainer:async ( req, res, next ) => {