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

How to TDD ActiveJob in Rails 5 with RSpec

How to Use The Rule of Three to Ship a Better Product

How to Create an Awesome Embroidery File with SewArt

Folio — Responsive Portfolio using Flutter 2.0

Fellow Engineers: This is where your money comes from

Configuring Android Project — Continuous Integration

What is Socket Programming in Python and how to master it?

Cinemachine camera follow

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

Setup My Ultimate Shell — Zsh

git Install and Config

Developing in a Linux Container on Windows 11 (without Docker Desktop)

Shells in Mac OS