Dear,

On Wed, 23 Sep 2020 at 04:07, zimoun <zimon.touto...@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

Reply via email to