You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure there isn't already an open issue about this.
Ensure there isn't already a closed/resolved issue about this.
Describe the bug
Distrobox does not handle containers that have short environment variables
To Reproduce
create a box with rocm/pytorch distrobox create --name rocm --image rocm/pytorch:latest --home ~/Boxes/rocm-pytorch
try to enter this box or remove it
distrobox enter rocm
distrobox rm rocm
Observe the error
Error: template: inspect:1:37: executing "inspect" at <slice . 0 5>: error calling slice: index out of range: 5
Expected behavior
Distrobox is entered / removed without any errors
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
senioroman4uk
changed the title
[Error]
[Error] Distrobox rm / Distrobox error returns error when container has short environment variables
Sep 4, 2024
senioroman4uk
changed the title
[Error] Distrobox rm / Distrobox error returns error when container has short environment variables
[Error] Distrobox rm / Distrobox enter returns error when container has short environment variables
Sep 4, 2024
Please, before opening a bug:
Describe the bug
Distrobox does not handle containers that have short environment variables
To Reproduce
distrobox create --name rocm --image rocm/pytorch:latest --home ~/Boxes/rocm-pytorch
Observe the error
Error: template: inspect:1:37: executing "inspect" at <slice . 0 5>: error calling slice: index out of range: 5
Expected behavior
Distrobox is entered / removed without any errors
Logs
Run the commands with
--verbose
and post the log here as a file uploadAttach also the output of
podman logs
ordocker logs
, possibly with--latest
flaglogs.txt
Desktop (please complete the following information):
Additional context
n/a
The text was updated successfully, but these errors were encountered: