Skip to content

KnowBetterCloud/Docker_to_Podman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Docker To Podman

Old habits... having "cut my teeth" with containers on OpenShift 3, I was initiated by using "docker".
Roll forward 7 years: now that I use podman, I have created a work-around until I break myself of the habit of typing "docker <do something>".

This is what I have done to mitigate my faux pas.

( which podman ) || { sudo yum -y install podman; }
sudo systemctl enable podman --now
alias | grep podman || { echo "alias docker=$(which podman)" >> ~/.bashrc.d/fedora; . ~/.bashrc; }
docker info
docker pull centos:latest
docker images

Next up: replacing 'oc' with 'kubectl'. ;-)

About

Switching from Docker to Podman for running containers locally

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •