diff --git a/uaitrain/operation/pack_docker_image/base_pack_op.py b/uaitrain/operation/pack_docker_image/base_pack_op.py index 681d7de..f800d1a 100644 --- a/uaitrain/operation/pack_docker_image/base_pack_op.py +++ b/uaitrain/operation/pack_docker_image/base_pack_op.py @@ -314,7 +314,7 @@ def _gen_run_cmd(self): def _build_userimage(self): uai_logger.info("Docker login on " + self.dcoker_register) retcode = subprocess.check_call( - ["docker", "login", "-u", self.uhub_username, "-p", self.uhub_password, "-e", "x", self.dcoker_register], + ["docker", "login", "-u", self.uhub_username, "-p", self.uhub_password, self.dcoker_register], stderr=subprocess.STDOUT) if retcode != 0: raise RuntimeError("Error login to uhub, Please check your username and password, or try with sudo") @@ -380,4 +380,4 @@ def cmd_run(self, args): self.cpu_image = cpu_image_name self._build_userimage() - \ No newline at end of file +