From dev-return-2753-archive-asf-public=cust-asf.ponee.io@singa.incubator.apache.org Thu Apr 11 15:45:08 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 43CE018065D for ; Thu, 11 Apr 2019 17:45:08 +0200 (CEST) Received: (qmail 35916 invoked by uid 500); 11 Apr 2019 15:45:07 -0000 Mailing-List: contact dev-help@singa.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.incubator.apache.org Delivered-To: mailing list dev@singa.incubator.apache.org Received: (qmail 35906 invoked by uid 99); 11 Apr 2019 15:45:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2019 15:45:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 03EA6C00A6 for ; Thu, 11 Apr 2019 15:45:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -107.201 X-Spam-Level: X-Spam-Status: No, score=-107.201 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 6OH-O5s_8M6O for ; Thu, 11 Apr 2019 15:45:04 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 478325F56B for ; Thu, 11 Apr 2019 15:45:04 +0000 (UTC) Received: (qmail 35752 invoked by uid 99); 11 Apr 2019 15:45:03 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2019 15:45:03 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 34762E0D07 for ; Thu, 11 Apr 2019 15:45:03 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id ECEC5245CF for ; Thu, 11 Apr 2019 15:45:00 +0000 (UTC) Date: Thu, 11 Apr 2019 15:45:00 +0000 (UTC) From: "thao p nguyen (JIRA)" To: dev@singa.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (SINGA-440) fail to pull Docker images MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SINGA-440?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16815= 510#comment-16815510 ]=20 thao p nguyen edited comment on SINGA-440 at 4/11/19 3:44 PM: -------------------------------------------------------------- thank you. now I can pull & run docker images, however, then it seems that = singa-cpu can not run properly. here are codes: thao@thao-OptiPlex-5060:~/Documents/Singa$ sudo docker pull apache/singa:1.= 2.0-cpu-devel-ubuntu18.04 1.2.0-cpu-devel-ubuntu18.04: Pulling from apache/singa Digest: sha256:a0f3e7a8a70652c99de42d52f34bc4e2a13a2c596962be5e51417e7d960b= 5d32 Status: Image is up to date for apache/singa:1.2.0-cpu-devel-ubuntu18.04 thao@thao-OptiPlex-5060:~/Documents/Singa$ sudo docker run -it apache/singa= :1.2.0-cpu-devel-ubuntu18.04=C2=A0 /bin/bash root@1326c6d2f66b:/incubator-singa# python -c "from singa import tensor" bash: python: command not found root@1326c6d2f66b:/incubator-singa# python3 Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import singa Traceback (most recent call last): =C2=A0 File "", line 1, in ModuleNotFoundError: No module named 'singa' >>> from singa import tensor Traceback (most recent call last): =C2=A0 File "", line 1, in ModuleNotFoundError: No module named 'singa' was (Author: pinpom): I can pull & run docker images, however, it seems that can not run singa-cp= u properly. here are codes: thao@thao-OptiPlex-5060:~/Documents/Singa$ sudo docker pull apache/singa:1.= 2.0-cpu-devel-ubuntu18.04 1.2.0-cpu-devel-ubuntu18.04: Pulling from apache/singa Digest: sha256:a0f3e7a8a70652c99de42d52f34bc4e2a13a2c596962be5e51417e7d960b= 5d32 Status: Image is up to date for apache/singa:1.2.0-cpu-devel-ubuntu18.04 thao@thao-OptiPlex-5060:~/Documents/Singa$ sudo docker run -it apache/singa= :1.2.0-cpu-devel-ubuntu18.04=C2=A0 /bin/bash root@1326c6d2f66b:/incubator-singa# python -c "from singa import tensor" bash: python: command not found root@1326c6d2f66b:/incubator-singa# python3 Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import singa Traceback (most recent call last): =C2=A0 File "", line 1, in ModuleNotFoundError: No module named 'singa' >>> from singa import tensor Traceback (most recent call last): =C2=A0 File "", line 1, in ModuleNotFoundError: No module named 'singa' > fail to pull Docker images > -------------------------- > > Key: SINGA-440 > URL: https://issues.apache.org/jira/browse/SINGA-440 > Project: Singa > Issue Type: Bug > Components: Documentation > Environment: - Docker version 18.09.4 > - Python 3.6.7 > - run on Ubuntu 18.10=20 > Reporter: thao p nguyen > Priority: Major > > 1- I can not pull docker images from dockerhub (src: [https://github.com/= apache/incubator-singa/tree/master/tool/docker).] Below is command line and= error: > thao@thao-OptiPlex-5060:~$ sudo docker pull apache/singa:devel > Error response from daemon: manifest for apache/singa:devel not found > thao@thao-OptiPlex-5060:~$ sudo docker pull apache/singa:devel-cuda > Error response from daemon: manifest for apache/singa:devel-cuda not foun= d > 2- Can not create new Docker images from Dockerfile by using the command = line format indicated (src: [https://github.com/apache/incubator-singa/tree= /master/tool/docker)|https://github.com/apache/incubator-singa/tree/master/= tool/docker).]. Below is my command line and error: > thao@thao-OptiPlex-5060:~/Documents/Singa/incubator-singa/tool/docker/dev= el$ sudo docker build -t singa:cpu -f Dockerfile > "docker build" requires exactly 1 argument. > See 'docker build --help'. > Usage:=C2=A0 docker build [OPTIONS] PATH | URL | - > Build an image from a Dockerfile > =C2=A0 > *** Instead, I tried this command to create new Docker images and it work= s: > thao@thao-OptiPlex-5060:~/Documents/Singa/incubator-singa/tool/docker/dev= el/ubuntu$ sudo docker build -t singa:devel cpu > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)