[TriLUG] Shrinking docker images

J. S. Evans via TriLUG trilug at trilug.org
Mon Oct 24 08:37:29 EDT 2016


I looked into that but the Alpine images don't have the required 
dependencies needed to run mono. The Alpine images are really geared 
more towards web apps.

Jason

On 10/24/2016 01:04 PM, Igor Partola via TriLUG wrote:
> I am no Docker expert, but my guess is that you'd be better off trying to start with a leaner guest OS instead. Look at Alpine Linux.
>
> Igor
>
>> On Oct 24, 2016, at 2:48 AM, J. S. Evans via TriLUG <trilug at trilug.org> wrote:
>>
>> Is there an application that can delete non-essential parts of a docker image?  For example, I wrote a docker image to run a windows app with mono using the stock Ubuntu base image. The image works and the container that I create with it runs the app, but after the image was built, it was > 300MB. I would like to know if there is an easy way to determine what parts of the filesystem would be safe to delete.
>>
>> My guess would be to run ps while it is running and delete anything that's not needed such apt/dpkg or anything in /var, /usr/local, etc.  Does anyone know of an application that I could run that would do this for me without the headache?
>>
>> Jason
>>
>> -- 
>> This message was sent to: Igor Partola <igor at igorpartola.com>
>> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
>> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>> Unsubscribe or edit options on the web    : http://www.trilug.org/mailman/options/trilug/igor%40igorpartola.com
>> Welcome to TriLUG: http://trilug.org/welcome



More information about the TriLUG mailing list