K
K
krll-k2017-06-07 00:17:32
git
krll-k, 2017-06-07 00:17:32

How to find out which files are included in the commit?

[email protected]:~# docker history
krll/freepbx              krll/freepbx:latest       lluisyast/freepbx         lluisyast/freepbx:latest
[email protected]:~# docker history krll/freepbx
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
e0f76829f454        3 hours ago         /sbin/my_init                                   704.7 MB
1961d20be989        4 months ago        /bin/sh -c #(nop)  WORKDIR /                    0 B
<missing>           4 months ago        /bin/sh -c curl -sf -o freepbx.tgz -L http://   511.7 MB
<missing>           4 months ago        /bin/sh -c #(nop)  WORKDIR /usr/src             0 B

In git, before commit, you need to execute add, and even before that, you can look with the help of status.
How to do the same in docker?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2017-06-07
@krll-k

https://docs.docker.com/engine/reference/commandli...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question