brew install lima
2022-02-07: nerdctl is not supported for MacOS. Cannot install via brew install nerdctl
Set alias in .bashrc
or .zshrc
alias docker="lima nerdctl"
Run nginx container: docker run -it --name nginx -v $(pwd):/my-home -p 8080:80 nginx:alpine
Verify container up and running: curl localhost:8080
git clone https://github.com/docker/awesome-compose.git
cd awesome-compose/nginx-flask-mongo
lima nerdctl compose up
Verify containers up and running: curl localhost