I passed:
boot2docker start Start docker
Run a container called web and install nginx
docker run --name web nginx
Type the IP and port of the virtual machine in the mac browser and find that the nginx service is successful
But I didn’t find the nginx software on mac or virtual machine
So where is the configuration file of ngixn?
boot2docker seems to rely on virtualbox, which is a bit complicated. I have done it once before....
You should switch to the native mac version of docker