containers / containers/toolbox

Error: failed to migrate containers

Open
#1,664 5 comments 0 reactions 0 assignees View on GitHub
1. Bug
Dominant language
Go
Stars
3.5k
Forks
262
Avg merge
3d 1h
Merged PRs (30d)
1

Description

**Describe the bug**
```
➜ ~ toolbox enter dev --log-level debug
DEBU Running as real user ID 1000
DEBU Resolved absolute path to the executable as /usr/bin/toolbox
DEBU Running on a cgroups v2 host
DEBU Looking up sub-GID and sub-UID ranges for user andreluis
DEBU TOOLBX_DELAY_ENTRY_POINT is
DEBU TOOLBX_FAIL_ENTRY_POINT is
DEBU TOOLBOX_PATH is /usr/bin/toolbox
DEBU Migrating to newer Podman
DEBU Toolbx config directory is /var/home/me/.config/toolbox
DEBU Current Podman version is 5.5.1
DEBU Creating runtime directory /run/user/1000/toolbox
DEBU Old Podman version is 5.5.0
Error: cannot use command "podman system migrate" with the remote podman client
DEBU Migrating to newer Podman: failed to migrate containers: failed to invoke podman(1)
Error: failed to migrate containers
```

**Steps how to reproduce the behaviour**
After updating podman from 5.5.0 to 5.5.1 on Fedora Silverblue
toolbox enter

**Expected behaviour**
Entering the container

**Actual behaviour**
Error: failed to migrate containers

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Output of `toolbox --version` (v0.0.90+)**
toolbox version 0.1.2

**Toolbx package info (`rpm -q toolbox`)**
toolbox-0.1.2-1.fc42.x86_64

**Output of `podman version`**

```
Client: Podman Engine
Version: 5.5.1
API Version: 5.5.1
Go Version: go1.24.3
Git Commit: 850db76dd78a0641eddb9ee19ee6f60d2c59bcfa
Built: Wed Jun 4 21:00:00 2025
Build Origin: Fedora Project
OS/Arch: linux/amd64

Server: Podman Engine
Version: 5.5.1
API Version: 5.5.1
Go Version: go1.24.3
Git Commit: 850db76dd78a0641eddb9ee19ee6f60d2c59bcfa
Built: Wed Jun 4 21:00:00 2025
OS/Arch: linux/amd64
```

**Podman package info (`rpm -q podman`)**
`podman-5.5.1-1.fc42.x86_64`

**Info about your OS**
Fedora Silverblue 42

**Additional context**
After updating podman from 5.5.0 to 5.5.1

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Toolbx Podman migration path that runs during `toolbox enter`, focusing on the `podman system migrate` invocation and the remote-client error. Reproduce with Podman 5.5.0 to 5.5.1 on Fedora Silverblue 42; done means entering the container succeeds without the migration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.