Hello,
I've integrated some portions of libdoug [1] into Atomic CLI, the source
tree can be found at [2].
What's currently in:
- I've added global -d/--debug switch, which prints out every Docker
command executed by Atomic, an example:
################# DOCKER COMMAND DIAGNOSTICS ###########################
docker create -t -i --name fedora fedora:21 /bin/sh
########################################################################
Command: create
Flags: -t / --tty = True
-i / --interactive = True
--name = fedora
Context: ['fedora:21', '/bin/sh']
Workdir: /home/podvody/Repos/atomic
########################################################################
Also if the -d switch is specified with 'info $IMAGE' it'll print all
children of the image. [3]
The library was made to handle updates, so I'd like to ask what is your
use case/story for updating container images (see [1] for NVR and
optimistic solvers).
[1]: https://github.com/shaded-enmity/docker-doug
[2]: https://github.com/shaded-enmity/atomic/tree/libdoug
[3]: http://pastebin.com/2BwU80F7
--
Pavel Odvody <podvody redhat com>
Software Engineer - EMEA ENG Developer Experience
5EC1 95C1 8E08 5BD9 9BBF 9241 3AFA 3A66 024F F68D
Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno
Attachment:
signature.asc
Description: This is a digitally signed message part