use mac os docker inside docker container code example
Example 1: install docker on mac
softwareupdate --install-rosetta
Example 2: docker run in mac
docker container run --name web -d -p 8080:80 -v
$PWD:/usr/share/nginx/html:ro -d nginx
softwareupdate --install-rosetta
docker container run --name web -d -p 8080:80 -v
$PWD:/usr/share/nginx/html:ro -d nginx