Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Large Image Sizes #12

Closed
ruffsl opened this issue Nov 19, 2015 · 1 comment
Closed

Large Image Sizes #12

ruffsl opened this issue Nov 19, 2015 · 1 comment

Comments

@ruffsl
Copy link
Contributor

ruffsl commented Nov 19, 2015

So I was probing the current cuda image, and I'm thinking it could stand to shed a little weight:

$ docker images
REPOSITORY                                TAG                    IMAGE ID            CREATED             VIRTUAL SIZE
cudnn                                     v2-7.0                 80a8e0efea8d        21 hours ago        2.041 GB
cuda                                      7.0                    f8abb195d52b        21 hours ago        2.012 GB
ubuntu                                    14.04                  e9ae3c220b23        9 days ago          187.9 MB

A quick check on the just the size of the cuda libraries reviles:

$ docker run -it cuda:7.0 du -sh usr/local/cuda-7.0/
1.5G    usr/local/cuda-7.0/

$ docker run -it cuda:7.0 du -sh usr/local/cuda-7.0/*
4.0K    LICENSE
4.0K    README
43M     bin
170M    doc
5.9M    extras
0       include
0       lib64
180M    libnsight
122M    libnvvp
22M     nvvm
184M    samples
272K    share
592K    src
790M    targets
160K    tools

So we've have about about 324.1 megabytes coming in elsewhere. I'm seeing Xserver and perhaps other unessential deps installed that users could get themselves if need be. So perhaps we could cut a little fat by tweaking call to apt-get install. Also, not sure if the samples could be installed later, but that might be nice thing to toss into a higher tag. Others not deploying cuda containers to cloud instances might still want it.

@3XX0
Copy link
Member

3XX0 commented Nov 19, 2015

Agreed, after discussion we're going to split cuda into devel/runtime.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants