Skip to content

Commit 2ef1a3f

Browse files
committed
修复docker内运行问题
1 parent edda4fb commit 2ef1a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/terminal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55

66
// 配置Docker连接
77
const docker = new Docker({
8-
// socketPath: process.env.DOCKER_SOCKET || '/var/run/docker.sock',
8+
socketPath: process.env.DOCKER_SOCKET || '/var/run/docker.sock',
99
// 如果使用TCP连接(可选)
1010
// host: process.env.DOCKER_HOST || 'localhost',
1111
// port: process.env.DOCKER_PORT || 2375,

0 commit comments

Comments
 (0)