-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[QUESTION] Please, answer +1 if the solution is working properly for you (Through VS2017 or CLI environment) #107
Comments
+1 (Windows CLI, on Win10 Entr, RAM 7GB, got a lot of problems with SQL Container, managed to make it work after assigning docker 4352 MB and freeing RAM) ... wondering what HW is required to develop seriously with containers in real world scenarios. Any points? |
@kifjj That's why we mentioned to set at least 4096 MB of memory to Docker and recommend a 16GB ram machine in the setup instructions. Take into account that this is only because SQL Server container requirements in a dev or testing environment where you spin everything up as containers. In a real production environment it is recommended to take out the DBs from Docker and put your Databases in a High Available system like Azure SQL DBA or a SQL Server cluster, on-premises. So the memory you'd need for that would be less. |
+1 (Both environments, CLI & VS2017) - Windows 10 Enterprise, RAM 16GB. Testing on Multiple machines. |
Hi CESAR I am getting timeout error when the MVC application first starts. VS2017, windows 10 , 16GB RAM |
Oops. It was docker memory i guess. I set it to 4096MB and it started working now. :) |
+1 (VS2017) - Windows 10 Enterprise, RAM 16GB |
I tried to install the solution to Server 2016 with VS2017 without success. There doesn't seem to be a suitable docker installation for Windows 2016. I tried to install docker via powershell but cannot find a way to perform necessary configuration as outlined in this document. The reason I want to use Windows 2016 is that I cannot create a windows 10 image in my azure subscription. |
Also just realized that docker for windows will not work for Azure VMs. As such, is there a way to have the eShop sample app setup and running in Azure? |
@CESARDELATORRE thanks for your explanation. Everything makes sense, just a point I am missing. |
Hi @kifjj Thanks! |
@kifjj @eiximenis Reasons given by eiximenis (Eduard) plus: One more point, you cannot use VMs in Azure for a DEVELOPMENT environment with "Docker for Windows" that would need a nested VM in Hyper-V, and that is not supported in Azure. However, you could, of course, deploy the containers to an Azure Linux VM that would be a Docker Linux host, for testing/production environment, but not development with Visual Studio, etc.. |
+1 VS17. Looks great. |
+1 VS2017, Win 10. |
+1 (CLI) mac but when i try to check the web feature, there are some errors. RAM: 8G |
@geminiyellow What errors are you getting? - Remember, related to the Identity Authentication container based on IdentityServer4, when deploying from a Mac, you need to use the "production" docker-compose.prod.yml because the by default 10.0.75.1 IP is only available when using Docker for Windows. "localhost" won't work from the Mac when authenticating and the redirection because of that reason, you'll need to always use an specific IP when using the Mac. |
+1 (VS2017) Win 10 Pro, RAM 16GB |
+1 (Both) Windows 10 Pro, 32 GB RAM. I did have to change the VS startup project to the Docker project (which wasn't mentioned in the 'main steps') but that's mentioned in the full instructions and was pretty clearly needed. :) |
+1 (VS2017) |
i want know that can Visual Studio for Mac 2017 run the solution ? |
@dongdongmao Not currently. Probably in the future. Then, using Docker CLI like docker-compose build/up from bash to build images and to deploy the containers. |
+1 (CLI) mac but when i click LOGIN an unhandled exception occurred while processing the request. InvalidOperationException: IDX10803: Unable to obtain configuration from: 'http://10.0.75.1:5105/.well-known/openid-configuration'. |
VS 2017 |
@andrelmp Hey! Did you set up Docker Community (aka Docker for Windows) with the required amount of memory? - At least 4096 GB for Docker, as specified in the setting up instructions here: Also here: If you did, try re-starting Docker.. Looks like you are having an "environment issue". Can you start any SQL Server container by itself? like the following Docker CLI commands: You should probably face the same issue if you didn't set up the required memory for Docker. |
wow that was fast! thank you @CESARDELATORRE |
+1 for CLI (macOS). After having set Docker to 4GB RAM. But when running |
BTW; when building the SPA, building the SPA with npm is successful.
|
@ChristianWeyer before running the docker-compose -f docker-compose.ci.build.yml up ? But that should be done from the compose execution…, too... Can you create an issue specific for Mac environment so we track it down when possible? Thanks for the feedback. |
Hi, i'm trying to up project CLI Im facing problem with mssql, Identity catalog was created but CatalogDB was not: Microsoft.eShopOnContainers.Services.CatalogDb - N OK I'm missing something? |
Hi @rjdebona, I don't remember anyone having this problem, did you assign the 4 GB RAM that the setup guide specifies? |
I setup 3.5GB. mssql is up. |
Perhaps if you try spinning up only the SQL Server container with
And you configure the server in the connection string to Hope this helps. |
Hi @richard-ashby, It seems a Mac issue, would you create an issue so we continue the conversation there? |
Hi @mvelosop
OK will do ASAP, BTW I need to reinstall VS2017 for Mac before I can re-test as I had to remove it yesterday due to other reason (un-related to this issue). |
Did you say change string in app.settings of each API? |
@rjdebona, you'd only have to do it in the four microservices that use an SQL Server DB, and just to migrate the DB, but I'm not sure this would solve your issue, since it seems to be a memory issue. |
+1 @mvelosop that's correct, i up from 3,5GB to 4GB and problems were solved. Thanks! |
Glad to know it's working for you @rjdebona! |
+1 (VS2017) on dev branch |
+1. DOCKER CLI on MAC. |
+1 (VS2017) on dev branch |
+1 CLI on Windows |
+1 VS2019 on Windows 10 |
+1 VS2019 on Windows 10 pretty sure the -1 is this issue: https://developercommunity.visualstudio.com/content/problem/459912/docker-support-in-aspnet-core-project-fails-to-run.html docker containers are up but not running the solutions.. |
+1 VS2019 on Windows 10 |
How to deploy this type of project in Azure Kubernates Service using docker-compose? |
Hi @nilukshan, you might want to take a look at the wiki page: https://github.com/dotnet-architecture/eShopOnContainers/wiki/10.-Deploying-to-Kubernetes-(AKS-and-local)-using-Helm-Charts However, there's an issue I'm working on now and if fails when trying to deploy to local Kubernetes. |
-1 (VS2019) on dev branch in Windows 10 Severity Code Description Project File Line Suppression State |
Hi @sarthakvijayvergiya, as metioned in issue #1073, this seemed to be a VS issue, but it was "workarounded" in commit 33fb3a7. |
-1 vs2019 community....Internal server error on Login page |
Hi @lloydmonteiro, could you create an issue with the details, please? |
+1 VS2017 on Windows 10 |
were you able to find solution to the issue of deploying locally to kubernetes? |
-1 CLI on Windows 10 Note: I have followed the setup instructions including Docker Advanced settings and Windows Firewall settings as per documents:
Issue Details below- -1 CLI on Win10 issues:Also see attached file for CLI docker logs generated. a) Error building "identity.api", "webstatus" and "webmvc"=> b) Later facing error building and running API Gateways "webshoppingapigw", "webmarketingapigw", "mobilemarketingapigw", "mobileshoppingapigw": c) WebSPA error screen image (similar issues 'Catalog service error' in WebMVC app): **+1 VS2019 - resolved below issue by disabling Windows Firewall settings for vpnkit as described at link #295 (comment) **Built the docker-compose CS Project. b) WebSPA Exception when clicked Login menu on Home page Note that Identity Application is working as shown in below image: |
Closing this issue now as it's not being tracked any more, please create a regular issue in case of getting started problems. |
A small favor, can you answer +1 to this thread if the solution is working for you (Through VS2017 or CLI environment)? - Bits compilation-Deploy-Run in Docker.
We'd like to know if the environment/solution is working for most of the people or not.
Better if you specify what environment you are using, like answering any of the following:
+1 (VS2017)
+1 (CLI)
+1 (Both)
Answer with a -1 if you have issues and you couldn't make it work (compile/deploy/run to Docker), any of the following:
-1 (VS2017)
-1 (CLI)
-1 (Both)
We could create a survey, but we're not looking for specific statistics jus a sense of how it is working for the majority, and this way based on issues might be quicker for you guys than going to surveymonkey or anything like that.
Thank you! :)
The text was updated successfully, but these errors were encountered: