From 1ed46c3bdf1c92027a0837b4151459684e4def74 Mon Sep 17 00:00:00 2001 From: xuchuan19 Date: Wed, 30 Jul 2025 16:58:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88nexus=E7=9A=84=E7=89=B9?= =?UTF-8?q?=E6=9D=83=E5=AE=B9=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ascend_deployer/scripts/nexus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ascend_deployer/scripts/nexus.py b/ascend_deployer/scripts/nexus.py index 5b432d46..d6c842ff 100644 --- a/ascend_deployer/scripts/nexus.py +++ b/ascend_deployer/scripts/nexus.py @@ -220,7 +220,7 @@ class OsRepository: self._run_cmd("docker network create --ipv6 --subnet 2001:0DB8::/112 ip6net_nexus") network_command_opt = "--network ip6net_nexus" self._run_cmd("docker load -i {}".format(self.nexus_image)) - start_nexus_cmd = "docker run -d --privileged --name nexus {} -p {}:8081 -v {}:/nexus-data {}".format( + start_nexus_cmd = "docker run -d --name nexus {} -p {}:8081 -v {}:/nexus-data {}".format( network_command_opt, self.nexus_run_port, self.nexus_data_dir, self.nexus_image_name ) self._run_cmd(start_nexus_cmd) -- Gitee