From c03b1ed1a00c41bc290a8bc6338b6c58ef993c69 Mon Sep 17 00:00:00 2001 From: Will Hester Date: Mon, 29 Apr 2024 15:41:57 +0100 Subject: [PATCH 1/3] temporarily remove host volumes from docker --- go/node/docker_node.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/node/docker_node.go b/go/node/docker_node.go index cca9ad556d..00d167eb7c 100644 --- a/go/node/docker_node.go +++ b/go/node/docker_node.go @@ -133,9 +133,9 @@ func (d *DockerNode) startHost() error { d.cfg.hostP2PPort, } - hostVolume := map[string]string{d.cfg.nodeName + "-host-volume": _hostDataDir} + //hostVolume := map[string]string{d.cfg.nodeName + "-host-volume": _hostDataDir} - _, err := docker.StartNewContainer(d.cfg.nodeName+"-host", d.cfg.hostImage, cmd, exposedPorts, nil, nil, hostVolume) + _, err := docker.StartNewContainer(d.cfg.nodeName+"-host", d.cfg.hostImage, cmd, exposedPorts, nil, nil, nil) return err } From f32325cde832adb6d701d8f654b81535ef074960 Mon Sep 17 00:00:00 2001 From: Will Hester Date: Mon, 29 Apr 2024 15:44:10 +0100 Subject: [PATCH 2/3] remove hostDataDir --- go/node/docker_node.go | 1 - 1 file changed, 1 deletion(-) diff --git a/go/node/docker_node.go b/go/node/docker_node.go index 00d167eb7c..1053606a6c 100644 --- a/go/node/docker_node.go +++ b/go/node/docker_node.go @@ -10,7 +10,6 @@ import ( ) var ( - _hostDataDir = "/data" // this is how the directory is referenced within the host container _enclaveDataDir = "/enclavedata" // this is how the directory is references within the enclave container ) From abd5aa6a2134dc82d9924a20e01b547a67851a70 Mon Sep 17 00:00:00 2001 From: Will Hester Date: Mon, 29 Apr 2024 15:47:07 +0100 Subject: [PATCH 3/3] cleanup --- go/node/docker_node.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/go/node/docker_node.go b/go/node/docker_node.go index 1053606a6c..eb67a175c4 100644 --- a/go/node/docker_node.go +++ b/go/node/docker_node.go @@ -132,8 +132,6 @@ func (d *DockerNode) startHost() error { d.cfg.hostP2PPort, } - //hostVolume := map[string]string{d.cfg.nodeName + "-host-volume": _hostDataDir} - _, err := docker.StartNewContainer(d.cfg.nodeName+"-host", d.cfg.hostImage, cmd, exposedPorts, nil, nil, nil) return err