Podman/Docker Cheatsheet
This note contains all the tips and tricks for podman & docker cli
Podman
Add docker to search registries
This is to allow podman to automatically pull images from dockerhub without explicitly indicating docker.io
eg: podman pull ubuntu
will pull ubuntu image from dockerhub
unqualified-search-registries=["docker.io"]
Docker
Add insecure registries to docker
This is to allow docker to login or pull from insecure registries (without https) or when then local system does not have a SSL certificate trust with destination registry
{
"insecure-registries": ["insecure-registry.com:8443"]
}
systemctl daemon-reload && systemctl restart docker
Reference