Why is this error message so vague? I feel like it could be improved.
What’s more frustrating is that this reply says that Dockerfile EXPOSE doesn’t affect anything
But then the Fly io troubleshooting docs themselves say to “make sure you have an EXPOSE port in there” (I get the same error whether I omit it or not)
After a lot of fiddling around, i’ve found that it was apparently the way I called CMD in my Dockerfile, I was not executing bash in the arguments to CMD
This error will improve in the next couple of months. It comes from Nomad, which we’re replacing. One reason we’re replacing it is: errors are pretty opaque and it’s hard for us to tell you specifically what went wrong.
I’m glad you figured it out! I just wanted you to know you’re not the only person who hates that error.