singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thao p nguyen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SINGA-440) fail to pull Docker images
Date Thu, 11 Apr 2019 15:43:00 GMT

    [ https://issues.apache.org/jira/browse/SINGA-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815510#comment-16815510
] 

thao p nguyen commented on SINGA-440:
-------------------------------------

I can pull & run docker images, however, it seems that singa 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)

Mime
View raw message