Squash docker images after build

Bug #1611362 reported by Dmitry Kaigarodеsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Pawel Brzozowski

Bug Description

We need to squash docker images on infra-ci after build
for avoiding lack of space on related Jenkins slave:

https://infra-ci.fuel-infra.org/label/docker-builder/

root@infra-ci-slave01:/home/jenkins# du -hs /var/lib/docker/aufs/*
306G /var/lib/docker/aufs/diff
26M /var/lib/docker/aufs/layers
26M /var/lib/docker/aufs/mnt

Probably this tool may be useful:
https://github.com/jwilder/docker-squash

Tags: area-build
Revision history for this message
Pawel Brzozowski (pbrzozowski) wrote :

@Dmitry can we just delete these images after building?

Revision history for this message
Dmitry Kaigarodеsev (dkaiharodsev) wrote :

@Pawel, yes, we can - since we'll upload it to the 'docker registry' after test,
but we also should be sure that we'll remove unneeded parent images,

so my main idea was like this:
- squash all tree of images into 1 image
- test it
- remove it

Roman Vyalov (r0mikiam)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.