End.

k8s,yaml文件配置执行多个command命令


写法一:

["/bin/bash","-c","/usr/local/nginx/sbin/nginx\n/usr/local/php7/sbin/php-fpm\n"]


写法二:

command: - /bin/bash - -c - | nginx -t nginx -g "daemon off;"


End.