docker新增檔案重新打包

人在代码在發表於2024-05-23

docker save歸檔

docker commint按照執行狀態打包一個映象

docker build 打包一個新映象


[root@ecs-353585 sdkjs-plugins]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
203565551d15 onlyoffice/documentserver "/app/ds/run-documen…" 6 hours ago Up 6 hours 0.0.0.0:80->80/tcp, :::80->80/tcp, 443/tcp, 0.0.0.0:9002->80/tcp, :::9002->80/tcp onlyoffice12
[root@ecs-353585 sdkjs-plugins]# docker commit onlyoffice12 onlyoffice13

相關文章