docker深入学习

Posted feiqiangsheng

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker深入学习相关的知识,希望对你有一定的参考价值。

docker commit命令使运行中的容器生成一个镜像

Usage:  docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]

Create a new image from a container's changes

Options:
  -a, --author string    Author (e.g., "John Hannibal Smith <hannibal@a-team.com>")
  -c, --change list      Apply Dockerfile instruction to the created image
  -m, --message string   Commit message
  -p, --pause            Pause container during commit (default true)

以上是关于docker深入学习的主要内容,如果未能解决你的问题,请参考以下文章