Skip to Content
0
Dec 04, 2020 at 09:13 PM

Unable to deploy Docker Image with NGINX in Cloud Foundry

89 Views

I have built a docker image (attached herein). The docker image accepts fastcgi connections (TCP Connection), due to which I had to use an NGINX Configuration to have an HTTP usable server. Now we're trying to deploy that Docker Image to Cloud Foundry, but it is failing to start and giving the errors as shown in the error log screenshot.

errorlog.png

I know how to deploy a simple Docker Image to Cloud Foundry, but in this case we have NGINX also in the picture.

I have referred the below link as well where it has mentioned about deploying NGINX, however there is no mention of docker image in the same.

NGINX Buildpack | Cloud Foundry Docs

Can anyone help me on this please ? There are three Screenshots herein

dockerfile.png

cmdsh.png

nginxconfigfile.png

Regards,

Masthanbee

Attachments

dockerfile.png (47.4 kB)
cmdsh.png (7.0 kB)
akbpz.jpeg (39.1 kB)
errorlog.png (156.1 kB)