why docker does not recognize /bin/sh -c as a valid entrypoint? – Nginx
I have a simple nginx container trying to run from docker-compose.. version: "3.3" services: nginx: image: nginx privileged: true entrypoint: ["/bin/sh -c"] command: ["ls -lha ~"] but it fails with: docker-compose up -d ERROR: for junk_nginx_1 Cannot start service nginx:…