singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moaz Reyad (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SINGA-276) Create docker images
Date Wed, 30 Nov 2016 10:57:58 GMT

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

Moaz Reyad commented on SINGA-276:
----------------------------------

This issue also includes:

1. Adding a link to the Docker image(s) in SINGA website (singa.apache.org) and write instructions
on how to use them.
2. Adding information about SINGA in the DockerHub page with a link to SINGA website.
3. Currently there is an image in DockerHub (https://hub.docker.com/r/nusdbsystem/dlaas-singa/)
but it is too big:

{code:title=Check images size|borderStyle=solid}
$ sudo docker images
REPOSITORY                TAG                 IMAGE ID            CREATED             SIZE
ubuntu                    14.04               4d44acee901c        4 days ago          187.9
MB
hello-world               latest              c54a2cc56cbb        4 months ago        1.848
kB
nusdbsystem/dlaas-singa   latest              30a8bd5c7778        9 months ago        4.522
GB
{code}

I think it will be more useful to reduce the size from 4.5GB (given that Ubuntu image size
is 180MB). Only binary files for SINGA and dependent libraries are needed in the image, and
no need for compilers and other development tools. We can create an image (singa-dev) for
developers if needed.

> Create docker images
> --------------------
>
>                 Key: SINGA-276
>                 URL: https://issues.apache.org/jira/browse/SINGA-276
>             Project: Singa
>          Issue Type: Improvement
>            Reporter: Moaz Reyad
>
> Docker can be used to improve the usability of SINGA by creating images which are ready
to use.
> Following SINGA-274, the images can be
> singa: the core package for singa C++ on CPU
> singa-python: the pysinga, depends on singa pacakge on CPU
> singa-gpu : the gpu version of the singa C++, depends on singa and extends it with the
gpu features
> singa-gpu-python: pysinga and gpu together. depends on singa-python and singa-gpu
> singa-dlaas: depends on singa-python, adds the DL as a service (Rafiki) on CPU
> singa-gpu-dlaas: depends on singa-gpu-python, adds the DL as a service (Rafiki) on GPU
> GPU packages can be split into cuda and opencl.
> Images should be uploaded into DockerHub
> The images could be generated automatically from GitHub, see (https://docs.docker.com/docker-hub/github/).
Each image will have a Docker file and make script to build it automatically with every change
in GitHub.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message