[ https://issues.apache.org/jira/browse/SINGA-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815510#comment-16815510 ]
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:a0f3e7a8a70652c99de42d52f34bc4e2a13a2c596962be5e51417e7d960b5d32 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 /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): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'singa' >>> from singa import tensor Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'singa' was (Author: pinpom): I can pull & run docker images, however, it seems that can not run singa-cpu 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:a0f3e7a8a70652c99de42d52f34bc4e2a13a2c596962be5e51417e7d960b5d32 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 /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): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'singa' >>> from singa import tensor Traceback (most recent call last): File "<stdin>", line 1, in <module> 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 > 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 found > 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/devel$ > sudo docker build -t singa:cpu -f Dockerfile > "docker build" requires exactly 1 argument. > See 'docker build --help'. > Usage: docker build [OPTIONS] PATH | URL | - > Build an image from a Dockerfile > > *** Instead, I tried this command to create new Docker images and it works: > thao@thao-OptiPlex-5060:~/Documents/Singa/incubator-singa/tool/docker/devel/ubuntu$ > sudo docker build -t singa:devel cpu > -- This message was sent by Atlassian JIRA (v7.6.3#76005)