Updated 04. Setting eShopOnContainer solution up in a Mac, VS for Mac or with CLI environment (dotnet CLI, Docker CLI and VS Code) (markdown)
parent
efdd7bcfeb
commit
ee8dbf507c
@ -12,9 +12,11 @@ The SQL Server image for Docker requires more memory to run. You will need to up
|
||||
Depending on how many apps you are running in your Mac you might need to assign more memory to Docker in the Mac. Usually, 4GB should suffice, but we got feedback from devs who needed to assign up to 8GB of ram to Docker in the Mac.
|
||||
|
||||
### Folder shares in Docker for Mac
|
||||
If your projects are placed within the /Users folder, you don't need to configure anything additional, as that is a pre-shared folder. However, if you place your projects under a different path, like /MyRootProjects, then you'd need to add that shared folder to Docker's configuration, here:
|
||||
If your projects are placed within the /Users folder, you don't need to configure anything additional, as that is a pre-shared folder. However, if you place your projects under a different path, like /MyRootProjects, then you'd need to add that shared folder to Docker's configuration.
|
||||
|
||||

|
||||
If using Visual Studio for Mac, it is also important that you share the folder `/usr/local/share/dotnet`, like here:
|
||||
|
||||

|
||||
|
||||
## Docker Multi-stage support
|
||||
Since December 2017, eShopOnContainers supports [Docker Multi-stage](https://blogs.msdn.microsoft.com/stevelasker/2017/09/11/net-and-multistage-dockerfiles/), therefore, the steps in order to compile the .NET apps/projects before creating the Docker images can now be performed with a single command based on "docker-compose build" or "docker build".
|
||||
|
Loading…
x
Reference in New Issue
Block a user