mirror of
https://github.com/langgenius/dify.git
synced 2026-01-22 03:32:58 +08:00
fix(docker-daemon): update default Docker socket to use Unix socket
This commit is contained in:
parent
0082f468b4
commit
0cd613ae52
@ -195,7 +195,9 @@ environment.release_environment()
|
||||
class DockerDaemonEnvironment(VirtualEnvironment):
|
||||
_WORKING_DIR = "/workspace"
|
||||
_DEAFULT_DOCKER_IMAGE = "ubuntu:latest"
|
||||
_DEFAULT_DOCKER_SOCK = "https://1.1.1.1:2375" # Use an invalid default to avoid accidental local docker usage
|
||||
_DEFAULT_DOCKER_SOCK = (
|
||||
"unix:///var/run/docker.sock" # Use an invalid default to avoid accidental local docker usage
|
||||
)
|
||||
|
||||
class OptionsKey(StrEnum):
|
||||
DOCKER_SOCK = "docker_sock"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user