📌  相关文章
📜  保持 docker 容器运行 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:24.151000             🧑  作者: Mango

代码示例2
# to keep the container running and not exit directly
set -x
while $1
do
    echo "Press [CTRL+C] to stop.."
    sleep 5
    echo "My second and third argument is $2 & $3"
done