Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you reference a container without a domain, you pull from docker.io

With podman, you can control this with

  $HOME/.config/containers/registries.conf 
or

  /etc/containers/registries.conf
with docker, not possible (though you can hack mirrors)

https://stackoverflow.com/questions/33054369/how-to-change-t...



Or even easier: just fully qualify all images. With Podman:

nginx => docker.io/library/nginx

linuxserver/plex => docker.io/linuxserver/plex


So.. just use a domain. This seems like a nothing burger.


Not all dockerfiles (especially multi-stage builds) are easily sanitized for this.

think FROM python:latest or FROM ubuntu:20.04 AS build

They've put deliberate barriers in the way of using docker commands without accessing their cloud.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: