Skip to content

Commit

Permalink
Merge pull request #6 from stevefermi/master
Browse files Browse the repository at this point in the history
Fix issue #5
  • Loading branch information
classicsong authored Nov 21, 2017
2 parents 1b09138 + d927733 commit bd9bf3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uaitrain/operation/pack_docker_image/base_pack_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -380,4 +380,4 @@ def cmd_run(self, args):
self.cpu_image = cpu_image_name

self._build_userimage()


0 comments on commit bd9bf3a

Please sign in to comment.