From: zimoun <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>
Subject: Re: Docker image: from profile/manifest to manifest.scm?
Date: Thu, 24 Sep 2020 19:26:13 +0200 [thread overview]
Message-ID: <86ft77dr2i.fsf@gmail.com> (raw)
In-Reply-To: <86sgb9nt4k.fsf@gmail.com>
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
prev parent reply other threads:[~2020-09-24 17:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-23 2:07 Docker image: from profile/manifest to manifest.scm? zimoun
2020-09-23 8:32 ` Pierre Neidhardt
2020-09-24 17:26 ` zimoun [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86ft77dr2i.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).