Hi Mdegans,
In nvcr.io/nvidia/deepstream:4.0.2-19.12-devel, the deepstream is arranged as below. You can find the header files under /root/deepstream_sdk_v4.0.2_x86_64/sources/includes
root@7900d0cfb11e:/opt/nvidia/deepstream/deepstream-4.0# ls
bin lib
root@7900d0cfb11e:~/deepstream_sdk_v4.0.2_x86_64/sources/includes# ls
gst-nvevent.h gstnvdsmeta.h nvds_latency_meta.h nvds_version.h nvdsinfer_dbscan.h nvdsmeta_schema.h
gst-nvmessage.h nvbufsurface.h nvds_logger.h nvdsinfer.h nvdsinfer_tlt.h nvdstracker.h
gst-nvquery.h nvbufsurftransform.h nvds_msgapi.h nvdsinfer_context.h nvdsinfer_utils.h nvll_osd_api.h
gstnvdsinfer.h nvds_dewarper_meta.h nvds_opticalflow_meta.h nvdsinfer_custom_impl.h nvdsmeta.h nvll_osd_struct.h
root@7900d0cfb11e:~/deepstream_sdk_v4.0.2_x86_64/sources/includes# pwd
/root/deepstream_sdk_v4.0.2_x86_64/sources/includes
FYI, topic about creating docker based on nvcr.io/nvidia/deepstream:4.0.2-19.12-devel - Running the Deepstream Python apps in nvcr.io/nvidia/deepstream:4.0.2-19.12-devel container, headles