unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* guix gc doesn't seem to clean old guix revision
@ 2019-11-19 12:33 YOANN P
  2019-11-20 12:00 ` YOANN P
  2019-11-21 11:31 ` zimoun
  0 siblings, 2 replies; 19+ messages in thread
From: YOANN P @ 2019-11-19 12:33 UTC (permalink / raw)
  To: guix-devel@gnu.org

Hi guix,

I was testing the creation of guix docker image to be able to have multiple versions :

- 1.0.1 ( based on binary installation )
- latest ( based on the last commit from guix git with git pull )
- commit_hash ( specific commit )

And what i observed is it seems that 'guix gc' doesn't clean old guix revision.

I use alpine as a base image.
After installing the 1.0.1 binary, 'docker ps --size' report '0B (virtual 404MB)'
After a 'guix pull' and 'guix gc --delete-generations --optimize',  'docker ps --size' report 1.07GB (virtual 1.47GB)

How to clean old guix revision and let only the current one ?

$ docker exec -ti guix-test sh -c 'guix --version'
guix (GNU Guix) 7b40d59114e1462d6d8140f325a66b12e91db667
Copyright (C) 2019 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ docker exec -ti guix-test sh -c 'guix pull --list-generations'
Generation 1	Nov 19 2019 11:30:28	(current)
  guix 7b40d59
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 7b40d59114e1462d6d8140f325a66b12e91db667

Regards,

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-12-19 16:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-19 12:33 guix gc doesn't seem to clean old guix revision YOANN P
2019-11-20 12:00 ` YOANN P
2019-11-20 15:43   ` Julien Lepiller
2019-11-20 15:47   ` John Soo
2019-11-20 16:09     ` YOANN P
2019-11-23 17:43   ` Ludovic Courtès
2019-11-24 18:07     ` YOANN P
2019-11-26 19:26       ` zimoun
2019-11-27 14:21         ` zimoun
2019-11-29 15:14           ` YOANN P
2019-12-02 15:44             ` zimoun
2019-12-02 20:55               ` YOANN P
2019-12-02 21:51                 ` zimoun
2019-12-10 16:19             ` Ludovic Courtès
2019-12-10 16:32               ` zimoun
2019-12-11 11:13               ` YOANN P
2019-12-19 16:14                 ` Ludovic Courtès
2019-11-21 11:31 ` zimoun
2019-11-21 21:12   ` YOANN P

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).