简体   繁体   中英

Docker image of Azure Storage Emulator - nginx error

I am trying to run a docker image of Azure Storage Emulator, latest version available on docker hub. It starts for a few seconds, creates container but immediately I am getting this error:

nginx: [emerg] unexpected end of parameter, expecting ";" in command line

在此处输入图片说明

Is this an issue with the image or my environment? What am I looking at, I'm not sure what to debug.

In my test, the same error came out and then I change something below and it works well.

Append one line in the file nginx.conf :

daemon off;

Change the last two lines in the Dockerfile into this:

ENTRYPOINT C:\entrypoint.cmd
CMD nginx.exe

You can get all the things in the Github here . Hope it helps. If any more questions, please let me know.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM