Podman更新到5.7后出现
WARN[0000] The deprecated BoltDB database driver is in use. This driver will be removed in the up coming Podman 6.0 release in mid 2026. It is advised that you migrate to SQLite to avoid issues w hen this occurs. Set SUPPRESS_BOLTDB_WARNING environment variable to remove this message.
这个警告,虽然知道能设置SUPPRESS_BOLTDB_WARNING环境变量来关闭这个恼人提示,不过我没有设置过BoltDB这玩意儿而且也没有过这个软件包
瞄了瞄/usr/share/containers/containers.conf里的内容提到
# The database backend of Podman. Supported values are "" (default), "boltdb"
# and "sqlite". An empty value means it will check whenever a boltdb already
# exists and use it when it does, otherwise it will use sqlite as default
# (e.g. new installs). This allows for backwards compatibility with older versions.
# Please run `podman-system-reset` prior to changing the database
# backend of an existing deployment, to make sure Podman can operate correctly.
#
#database_backend = ""
看起来podman以前默认使用boltdb,但现在默认使用sqlite,未来会舍弃boltdb。如果现在要使用sqlite的话还得进行podman system reset完全移除掉现有内容。又是得手动迁移,真是神烦。