I have a pod with nginx image, but it also has the command "nginx".
apiVersion: v1 kind: Pod metadata: name: nx spec: containers:
-g daemon off is means 'nginx runs in quiet mode.
But what is 'nginx' cmd actually? Does it mean it says enter the actual web-server nginx?
nginx
: Yes , this command starts nginx server.Nginx command line optionsdaemon off
option for nginx
command runs nginx in foreground instead of running it as a system daemon (background process).difference between daemon off and daemon on