[docker] 指令docker commit 或 docker container commit – 使用運行中的容器製作印象檔

### 使用運行中的容器製作印象檔
docker container commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]

範例
docker container commit –author “Charles Lin” –message “Ubuntu and Apache2” <container id or name> myapache2

commit 時,容器會被暫停, 加上 –pause=false 可以避免.
###

Category: 來玩docker