Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
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
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 upload Attach also the output ofpodman logs
ordocker logs
, possibly with--latest
flaglogs.txt
Desktop (please complete the following information):
Additional context n/a