切换当前目录时 使用 workdir

 

 

CMD

CMD 指令就是用于指定默认的容器主进程的启动命令,注意启动的是守护线程,应该注意其特性

posted on 2025-03-08 00:40  towboat  阅读(15)  评论(0)    收藏  举报