[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Docker image: from profile/manifest to manifest.scm?
From: |
zimoun |
Subject: |
Re: Docker image: from profile/manifest to manifest.scm? |
Date: |
Thu, 24 Sep 2020 19:26:13 +0200 |
Dear,
On Wed, 23 Sep 2020 at 04:07, zimoun <zimon.toutoune@gmail.com> wrote:
> The 2 questions are:
>
> 1. How can I find this /gnu/store/…-profile/manifest file with only the
> Docker tools?
I have found an answer to my question. :-) Well, using “docker export”.
--8<---------------cut here---------------start------------->8---
docker load < $(guix time-machine -C channels.scm \
-- pack -f docker \
-m manifest.scm --save-provenance)
docker run -ti <TAG>
docker ps -a
docker export -o foo.tar <ID>
tar -xf foo.tar $(tar -tf foo.tar | grep ’profile/manifest’)
cat gnu/store/…-profile/manifest
--8<---------------cut here---------------end--------------->8---
Is it possible to automatize these steps?
> 2. What is the status of the converter from profile/manifest to
> manifest.scm discussed sometimes ago?
Well, the converter extracting an approximation to the manifest.scm and
channels.scm files should be really could to have.
All the best,
simon