Docker Desktop — Moving away

Installing nerdctl on MacOs:

brew install lima
limactl start
# see running containers
lima nerdctl ps
# run a new container
lima nerdctl run nginx
# display details of local images
lima nerdctl images
# building a new image
nerdctl build -t foo /some-dockerfile-directory
alias docker="lima nerdctl"
lima uname -a

Installing podman on MacOs:

brew install podman
podman machine init
podman machine start
# see running containers
podman ps
# run a new container
podman run nginx
# display details of images
podman images
# building a new image
podman build -t foo /some-dockerfile-directory
alias docker="podman"
podman machine stop
podman machine rm

--

--

--

Site Reliability Developer @ Oracle Cloud Infrastructure

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Software Products & Platforms

Running Quantum Circuits on IBM Quantum Computer

Microservices on AKS

Research on Case studies of fixed capacity Queue and Changing the Queue capacity using Artificial…

Weekly Digest #37

CSS Grid + Flexbox Solving Real-world Problems

Manifesto for Outcome-Driven Agile Software Delivery

Exception Handling and Database Transaction in Laravel — Part 2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yugal Arora

Yugal Arora

Site Reliability Developer @ Oracle Cloud Infrastructure

More from Medium

How to Organize Cluttered Files with Just One Command in Linux

bash Install & Config

Change directory on the command line

autoenv: relax, ansible will setup your dev environment for you