指定使用其它終端可以透過第二種方式實作,例如 RUN ["/bin/bash", "-c", "echo hello"] 。 每條 RUN 指令將在當前映像檔基底上執行指定命令,並產生新的映像檔。
確定! 回上一頁