podman: Error about storage on Ubuntu 22.04
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman images command returned an error about storage:
ERRO[0000] User-selected graph driver "overlay" overwritten by graph driver "vfs" from database - delete libpod local files to resolve
file system: btrfs freshly installed Ubuntu 22.04
Steps to reproduce the issue:
- Install podman 4.0.3 from source
cd ./podman-4.0.3
sudo apt install -y \
btrfs-progs \
make \
git \
go-md2man \
iptables \
golang-1.17 \
libassuan-dev \
libbtrfs-dev \
libc6-dev \
libdevmapper-dev \
libglib2.0-dev \
libgpgme-dev \
libgpg-error-dev \
libprotobuf-dev \
libprotobuf-c-dev \
libseccomp-dev \
libselinux1-dev \
libsystemd-dev \
pkg-config \
runc \
uidmap \
curl \
ca-certificates \
conmon \
containernetworking-plugins \
slirp4netns \
dbus-user-session
sudo ln -fs "/usr/lib/go-1.17/bin/go" "/usr/bin/go"
make clean
sudo make install
sudo make install.completions
sudo mkdir -p /etc/containers
sudo curl --insecure -L -o /etc/containers/registries.conf \
https://src.fedoraproject.org/rpms/containers-common/raw/main/f/registries.conf
sudo curl --insecure -L -o /etc/containers/policy.json \
https://src.fedoraproject.org/rpms/containers-common/raw/main/f/default-policy.json
sudo mkdir -p /etc/cni/net.d
curl -qsSL https://raw.githubusercontent.com/containers/podman/main/cni/87-podman-bridge.conflist \
| sudo tee /etc/cni/net.d/87-podman-bridge.conflist
podman images
Describe the results you received:
ERRO[0000] User-selected graph driver "overlay" overwritten by graph driver "vfs" from database - delete libpod local files to resolve
REPOSITORY TAG IMAGE ID CREATED SIZE
Describe the results you expected:
REPOSITORY TAG IMAGE ID CREATED SIZE
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
ERRO[0000] User-selected graph driver "overlay" overwritten by graph driver "vfs" from database - delete libpod local files to resolve
Client: Podman Engine
Version: 4.0.3
API Version: 4.0.3
Go Version: go1.17.3
Built: Wed Apr 27 15:01:54 2022
OS/Arch: linux/amd64
Output of podman info --debug:
ERRO[0000] User-selected graph driver "overlay" overwritten by graph driver "vfs" from database - delete libpod local files to resolve
host:
arch: amd64
buildahVersion: 1.24.3
cgroupControllers:
- memory
- pids
cgroupManager: systemd
cgroupVersion: v2
conmon:
package: 'conmon: /usr/bin/conmon'
path: /usr/bin/conmon
version: 'conmon version 2.0.25, commit: unknown'
cpus: 4
distribution:
codename: jammy
distribution: ubuntu
version: "22.04"
eventLogger: journald
hostname: pdb
idMappings:
gidmap:
- container_id: 0
host_id: 1000
size: 1
- container_id: 1
host_id: 100000
size: 65536
uidmap:
- container_id: 0
host_id: 1000
size: 1
- container_id: 1
host_id: 100000
size: 65536
kernel: 5.15.0-27-generic
linkmode: dynamic
logDriver: journald
memFree: 1597046784
memTotal: 2059866112
networkBackend: cni
ociRuntime:
name: runc
package: 'runc: /usr/sbin/runc'
path: /usr/sbin/runc
version: |-
runc version 1.1.0-0ubuntu1
spec: 1.0.2-dev
go: go1.17.3
libseccomp: 2.5.3
os: linux
remoteSocket:
path: /run/user/1000/podman/podman.sock
security:
apparmorEnabled: false
capabilities: CAP_AUDIT_WRITE,CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_MKNOD,CAP_NET_BIND_SERVICE,CAP_NET_RAW,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
rootless: true
seccompEnabled: true
seccompProfilePath: ""
selinuxEnabled: false
serviceIsRemote: false
slirp4netns:
executable: /usr/bin/slirp4netns
package: 'slirp4netns: /usr/bin/slirp4netns'
version: |-
slirp4netns version 1.0.1
commit: 6a7b16babc95b6a3056b33fb45b74a6f62262dd4
libslirp: 4.6.1
swapFree: 2147479552
swapTotal: 2147479552
uptime: 14m 9.25s
plugins:
log:
- k8s-file
- none
- passthrough
- journald
network:
- bridge
- macvlan
- ipvlan
volume:
- local
registries:
search:
- registry.fedoraproject.org
- registry.access.redhat.com
- docker.io
- quay.io
store:
configFile: /home/vbn/.config/containers/storage.conf
containerStore:
number: 0
paused: 0
running: 0
stopped: 0
graphDriverName: vfs
graphOptions: {}
graphRoot: /home/vbn/.local/share/containers/storage
graphStatus: {}
imageCopyTmpDir: /var/tmp
imageStore:
number: 0
runRoot: /run/user/1000/containers
volumePath: /home/vbn/.local/share/containers/storage/volumes
version:
APIVersion: 4.0.3
Built: 1651071714
BuiltTime: Wed Apr 27 15:01:54 2022
GitCommit: ""
GoVersion: go1.17.3
OsArch: linux/amd64
Version: 4.0.3
Package info (e.g. output of rpm -q podman or apt list podman):
None, build from source
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.): VirtualBox
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 27 (18 by maintainers)
Since Google leads to this issue when you search for the error message, I wanted to add (and hopefully save others some time):
podmanfrom the Ubuntu 22.04 repository without also installingfuse-overlayfs(which is only a Recommended or “soft” dependency).fuse-overlayfsand then afterward runrm -rf ~/.local/share/containers/(as mentioned in a comment on #5114).