My ENTRYPOINT
script doesn\'t execute and throws standard_init_linux.go:175: exec user process caused \"no such file or directory\"
. Why so?
I struggled for hours because I haven't noticed anywhere explained that you need to copy the file in the location where the VM can access the file, preferably globally like so:
COPY docker-entrypoint.sh /usr/local/bin/
(I had thought it should just be automatically accessible since it's part of the dockerfile context)