Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Image on Windows Base Image #439

Open
jonaswre opened this issue Apr 27, 2020 · 9 comments
Open

Docker Image on Windows Base Image #439

jonaswre opened this issue Apr 27, 2020 · 9 comments
Assignees
Labels
docker enhancement New feature or request featureparity Tracking issues for catching up feature parity good first feature A good first feature for you to make a contribution! NewArch Tracking issues for NewArch

Comments

@jonaswre
Copy link

The docker image is only based on a linux system.
It would be really nice to have an additional image based on a windows base image. I suspect lots of people use Azure Blob Storeage and Cosmos DB in the same project. So being able to start the whole dev enviroment using a single docker-compose.yml is a great way for easy onboarding. The only thing that keeps me from doing that is that cosmosdb uses windows and azurite linux.

@XiaoningLiu XiaoningLiu self-assigned this Apr 28, 2020
@XiaoningLiu XiaoningLiu added docker enhancement New feature or request NewArch Tracking issues for NewArch labels Apr 28, 2020
@XiaoningLiu
Copy link
Member

Thanks @jonaswre! Are you referring to cosmosdb emulator which provides windows based image?

We will evaluate if we can make this happen in same docker image, or need another which needs more time. At least, we can provide some script so everyone can build the image.

BTW, I like to know more about the scenarios you mentioned "lots of people use Azure Blob Storeage and Cosmos DB in the same project". It helps us with futher planning.

Thanks!

@XiaoningLiu XiaoningLiu added the featureparity Tracking issues for catching up feature parity label May 6, 2020
@danpetitt
Copy link

danpetitt commented May 14, 2020

Because we cant standup linux and windows images at the same time using docker-compose (until the latest versions of windows and winserver are eventually released) we need a windows version of this image.

Just create a windows dockerfile based on server2016 in a subfolder; in the meantime i may have to fork the project

@Adebeer
Copy link

Adebeer commented Sep 6, 2020

Hi have exact same issue. Our projects all use both CosmosDB + Azure storage.
My preference is to run both in docker containers, but atm I have to choose either Azurite or CosmosDB emulator as I can't run both windows/Linux containers at same time. Right now I'm giving preference to CosmosDB emulator simply cause it is a PITA to get working properly in windows - hence the reason I switched to docker. So I guess I'll be running the old blob storage container :~(

@XiaoningLiu XiaoningLiu added the good first feature A good first feature for you to make a contribution! label Sep 14, 2020
@XiaoningLiu
Copy link
Member

Hi, appreicated and welcome anyone can contribute a docker file for windows based image : )

@cmaneu
Copy link

cmaneu commented Jan 26, 2022

Hey there,
I think this issue is a duplicate of #42.

I'm a Data Developer Advocate here at Azure. I'm collaborating with an internal team that will probably require a Windows base image for Azurite. I can contribute to the Dockerfile/code necessary, but I would like to ensure this gets published to MCR.
As this issue is a bit old, I'm just waiting for maintainers "approval" before starting to work on it. cc @XiaoningLiu.

@XiaoningLiu
Copy link
Member

Wow, thanks @cmaneu, we should be able to register on MCR and do publishment once the script/code change contributed. @blueww can you help check if we need another MCR alias or we can reuse current MCR?

@na-jakobs
Copy link

+1 also need Azurite on a Windows image

@miaooss
Copy link

miaooss commented Sep 29, 2023

Do we have any script in order to create this image locally ?

@shanrath
Copy link

shanrath commented Nov 28, 2023

Hi, appreicated and welcome anyone can contribute a docker file for windows based image : )

I did this a while ago in my own fork at https://github.com/shanrath/Azurite/blob/main/Dockerfile, but i based it off of a rather dated image from Stefan Scherer's windows image repo: https://github.com/StefanScherer/dockerfiles-windows/tree/main/node

I suppose anything ready for prime time would need to repeat his steps to construct a node image from a scratch / windows server, and then setup azurite on top.

I was wondering a more official node-on-windows image had already been done somewhere, or if it's more feasible to approach this with the azurite.exe way, or with an msi like cosmos emulator (haven't found one for azurite).
If azurite.exe could run without a bunch of extra dependencies on the core image, it may be relatively simple to get this running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker enhancement New feature or request featureparity Tracking issues for catching up feature parity good first feature A good first feature for you to make a contribution! NewArch Tracking issues for NewArch
Projects
None yet
Development

No branches or pull requests

8 participants