Distrobox Listing Shows Phantom Container
bugv1
**Describe the bug**
Creating an Ubuntu 26.04 distrobox causes `distrobox ls` to show a phantom container that is not visible via `podman container ls`. Besides listing a phantom distrobox container, distrobox seems to be working fine.
**To Reproduce**
1. Create an Ubuntu 26.04 distrobox:
`distrobox create -i docker.io/library/ubuntu:26.04 --name ubuntu-appbox-26.04`
2. Enter the distrobox and then exit.
`distrobox enter ubuntu-appbox-26.04`
3. List distroboxes and notice an add'l phantom entry for a non-existent container:
```
distrobox ls
ID | NAME | STATUS | IMAGE
1ae8d1876967 | ubuntu-appbox-26.04 | Up 20 minutes | docker.io/library/ubuntu:26.04
org.opencon | org.opencontainers.image.title:ubuntu org.opencontainers.image.version:26.04][/etc/resolv.conf /usr/bin/entrypoint /dev /sys /dev/ptmx /etc/hosts /etc/hostname /run/host/ /run/user/1000 /tmp /usr/bin/distrobox-export /usr/bin/distrobox-host-exec /var/home/ehsanj /dev/pts /sys/fs/selinux /var/log/journal] | org.opencontainers.image.title:ubuntu org.opencontainers.image.version:26.04][/etc/resolv.conf /usr/bin/entrypoint /dev /sys /dev/ptmx /etc/hosts /etc/hostname /run/host/ /run/user/1000 /tmp /usr/bin/distrobox-export /usr/bin/distrobox-host-exec /var/home/ehsanj /dev/pts /sys/fs/selinux /var/log/journal] | org.opencontainers.image.title:ubuntu org.opencontainers.image.version:26.04][/etc/resolv.conf /usr/bin/entrypoint /dev /sys /dev/ptmx /etc/hosts /etc/hostname /run/host/ /run/user/1000 /tmp /usr/bin/distrobox-export /usr/bin/distrobox-host-exec /var/home/ehsanj /dev/pts /sys/fs/selinux /var/log/journal]
```
**Expected behavior**
`distrobox ls` should not show any phantom entries.
**Logs**
Run the commands with `--verbose` and post the log here as a file upload
Attach also the output of `podman logs` or `docker logs`, possibly with `--latest` flag
**Desktop (please complete the following information):**
- Are you using podman, docker or lilipod?
Podman
- Which version or podman, docker or lilipod?
Client: Podman Engine
Version: 5.8.2
API Version: 5.8.2
Go Version: go1.25.9 X:nodwarf5
Git Commit: 5b263b5f5b48004a87caac44e67349a8266d9ef4
Built: Mon Apr 13 20:00:00 2026
Build Origin: Fedora Project
OS/Arch: linux/amd64
- Which version of distrobox?
distrobox: 1.8.2.4
- Which host distribution?
Name: Bluefin (Version: 43.20260501) (based on Fedora Silverblue 43)
Version: 43 (Deinonychus)
Codename: Deinonychus
- How did you install distrobox?
Comes pre-installed on Bluefin-dx. They install it via `dnf`.
**Additional context**
Add any other context about the problem here
[distrobox-ls-verbose.txt](https://github.com/user-attachments/files/27287724/distrobox-ls-verbose.txt)
[podman-logs-latest.txt](https://github.com/user-attachments/files/27287725/podman-logs-latest.txt)
.
2 条评论