Duplicating docker container for debugging

后端 未结 5 569
遥遥无期
遥遥无期 2020-12-14 14:48

I have a running docker container. I have done some useful works in the running docker container. I have done these works not part of dockerfile, i have done it inside the c

5条回答
  •  -上瘾入骨i
    2020-12-14 15:39

    As of docker implementation 1.0.1 (Server /client API 1.12), there is only support for pause/resume operations.

    But as far as snapshotting of processes (in commits + push) are concerned, these don't work (not supported, though I've not checked documentation)

    In summary, 1) Preserving state of running processes is not possible! 2) All changes being made to file system (persistent storage) can be saved (and can be committed + pushed to repository).

提交回复
热议问题