From 7325407f5f7bb38c71df6e04fc7f4d87925ee624 Mon Sep 17 00:00:00 2001 From: yunfan Date: Mon, 8 Jun 2020 12:57:34 +0800 Subject: [PATCH] fix(endpoint): fix invalid Edge deployment command (#3908) --- app/portainer/views/endpoints/edit/endpointController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/portainer/views/endpoints/edit/endpointController.js b/app/portainer/views/endpoints/edit/endpointController.js index 816a65734..85d6c9bcb 100644 --- a/app/portainer/views/endpoints/edit/endpointController.js +++ b/app/portainer/views/endpoints/edit/endpointController.js @@ -64,7 +64,7 @@ angular $scope.randomEdgeID + ' -e EDGE_KEY=' + $scope.endpoint.EdgeKey + - " -e CAP_HOST_MANAGEMENT=1 --mode global --constraint 'node.platform.os == linux' --mount type=bind,src=//var/run/docker.sock,dst=/var/run/docker.sock --mount type=bind,src=//var/lib/docker/volumes,dst=/var/lib/docker/volume --mount type=bind,src=//,dst=/host --mount type=volume,src=portainer_agent_data,dst=/data portainer/agent" + " -e CAP_HOST_MANAGEMENT=1 --mode global --constraint 'node.platform.os == linux' --mount type=bind,src=//var/run/docker.sock,dst=/var/run/docker.sock --mount type=bind,src=//var/lib/docker/volumes,dst=/var/lib/docker/volumes --mount type=bind,src=//,dst=/host --mount type=volume,src=portainer_agent_data,dst=/data portainer/agent" ); } $('#copyNotificationDeploymentCommand').show().fadeOut(2500);