docker <.h> no such file or directory

what could be the reason gcc compiler throwing file not found error when compiled in docker container environment?

In docker environment, error threw only one header file among 10 header files. It didn't throw for rest 9 include <.h> statement. I don't understand.

It worked perfectly fine when compiled normally. I am pretty sure that I added all include library files on docker and made reference to it using -I, -L, and -l option in gcc command.