Updated 04. Setting eShopOnContainer solution up in a Mac, VS Code and CLI environment (dotnet CLI, Docker CLI and VS Code) (markdown)

Cesar De la Torre 2017-10-25 12:08:39 -07:00
parent 67d3f38432
commit b0962d432d

@ -1,6 +1,27 @@
# Try it out on the Mac using the bash shell
# Option A: Use Visual Studio for Mac
The quickest path to get eShopOnContainers running on your Mac is by using VS for Mac which will install most of the pre-requisites you need.
# Option B: Use a CLI environment (dotnet CLI, Docker CLI with the bash shell) and VS Code as plain editor
## Prerequisites
1. [Docker for Mac](https://docs.docker.com/docker-for-mac/install/). The stable channel is fine.
1. [Visual Studio for Mac](https://www.visualstudio.com/vs/visual-studio-mac/).
## Configure Docker for Mac
### Docker for Mac (Linux VM) memory assigned
The SQL Server image for Docker requires more memory to run. You will need to update your Docker settings to allocate at least 4 GB of memory:
[[img/docker-config-mac.png]]
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:
The quickest path to get eShopOnContainers running on your Mac:
## Prerequisites
@ -9,7 +30,7 @@ The quickest path to get eShopOnContainers running on your Mac:
1. [Node.js](http://nodejs.org). The stable channel is fine as well.
1. [.NET Core and SDK](http://dot.net). Install the SDK and runtime.
The SQL images require more memory to run. You will need to update your Docker settings to allocate at least 4 GB of memory:
The SQL Server image for Docker requires more memory to run. You will need to update your Docker settings to allocate at least 4 GB of memory:
[[img/docker-config-mac.png]]