toolbox: Error: Failed to start container
Describe the bug
Just installed toolbox and created a new container via toolbox create but when entering i get Error: Failed to start container.
Output with log-level debug:
[davide@localhost]~% toolbox enter nrf52840 --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 Checking if /etc/subgid and /etc/subuid have entries for user davide
DEBU Validating sub-ID file /etc/subuid
DEBU Validating sub-ID file /etc/subgid
DEBU TOOLBOX_PATH is /usr/bin/toolbox
DEBU Migrating to newer Podman
DEBU Toolbox config directory is /home/davide/.config/toolbox
DEBU Current Podman version is 3.3.1
DEBU Creating runtime directory /run/user/1000/toolbox
DEBU Old Podman version is 3.3.1
DEBU Migration not needed: Podman version 3.3.1 is unchanged
DEBU Resolving container and image names
DEBU Container: 'nrf52840'
DEBU Distribution: ''
DEBU Image: ''
DEBU Release: ''
DEBU Resolved container and image names
DEBU Container: 'nrf52840'
DEBU Image: 'fedora-toolbox:34'
DEBU Release: '34'
DEBU Checking if container nrf52840 exists
DEBU Inspecting mounts of container nrf52840
DEBU Starting container nrf52840
Error: failed to start container nrf52840
Steps how to reproduce the behaviour
- Create container with
toolbox create <name> - Enter newly created container with
toolbox enter <name> - See error
Expected behaviour I should enter the container.
Actual behaviour
The error message failed to start container is shown
Output of toolbox --version (v0.0.90+)
toolbox version 0.0.99.2
Toolbox package info (rpm -q toolbox)
toolbox-0.0.99.2-7.fc34.x86_64
Output of podman version
Version: 3.3.1
API Version: 3.3.1
Go Version: go1.16.6
Built: Mon Aug 30 22:46:36 2021
OS/Arch: linux/amd64
Podman package info (rpm -q podman)
podman-3.3.1-1.fc34.x86_64
Info about your OS Fedora 34
Additional context
Trying to start the container with podman using podman start nrf52840 results in the following error:
Error: unable to start container "28f9fb3e12c4927c32f700047c3db9529dc973c8acaf98dafbd99cc3d0bc076b":
make `/home/davide/.local/share/containers/storage/overlay/fc656c78681d2d3e51977006d82a4c54dfa98db28735fbc9549d328222213927/merged` private:
Permission denied: OCI permission denied
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (3 by maintainers)
I don’t know, worked for me.