brew
which installation process I wrote last time. For me, it’s the easiest and safest way. But there are a few other possibilities to install it on Mac OS.docker-compose
(more below) and Kinematic, which allow you to manage your container by using GUI than a command line.brew
if not just follow this page and do everything that I’ve described.docker-machine-driver-xhyve
has to run as root
, so you have to execute that commands:--xhyve-experimental-nfs-share
– this flag allows you to share each file in your /Users/
folder between Mac OS and Linux run on Docker.docker-machine
and docker-compose
. These tools are not required but they are the strength of docker.docker-machine --help
but most likely you will use three of them:docker-compose
you need to create an YAML file called docker-composer.yml
where you describe which container you want to create and how they are linked between each other.docker-compose
file, you can just go to docker documentation.docker-compose
, as well as other tools, provides a lot of commands available from a terminal, the number one is:docker
. But it’s just wasting a time./etc/hosts
file./Users/
folder. You can debug what is sharable directly on your docker machine, which can receive access directly from command line, like this:/
and check is there /Users/
folder which contains files from your Mac OS. If you don’t see your files, just try to reinstall Docker and xhyve.docker-machine
sometimes restarts also IP of the docker machine. If you can’t connect to your docker just check the current IP using this command:/etc/hosts
file. Ibank 4 for mac.Expose 443
to the Dockerfile.docker-compose
project as the Startup Project and start debugging (Run > Start Debugging). This will build, deploy and launch the ASP.NET project in a container.Cannot start service dockerdemo: Mounts denied
/usr/local/share/dotnet/sdk/NuGetFallbackFolder
to the File Sharing tab in Docker Desktop:http://localhost:32768
for example, and this port may vary.docker ps
command in Terminal.