如何在Dockerfile CMD中使用引号

我在我的Dockerfile中有以下内容:

ENTRYPOINT ["/bin/wait-for", "wordpress:9000", "--"] CMD nginx -g "daemon off;" 

其结果是:

 nginx_1 | Attempting... nginx_1 | Command: /bin/sh -c nginx -g "daemon off;" nginx_1 | Attempting to execute command: nginx_1 | /bin/sh -c nginx -g "daemon off;" ayurved_nginx_1 exited with code 0 

我猜是问题是引号…

我怎样才能让它执行/bin/wait-for wordpress:9000 -- nginx -g "daemon off;"