Bugzilla – Bug 1214879
/usr/bin/toolbox: line 129: [: -eq: unary operator expected
Last modified: 2023-09-01 10:15:41 UTC
localhost:~ # toolbox enter Trying to pull registry.opensuse.org/opensuse/leap-micro/5.4/toolbox:latest... Getting image source signatures Copying blob 689675fc10b7 done Copying blob 4f5569407826 done Copying config ec6445de47 done Writing manifest to image destination Storing signatures ec6445de4760822109e015c9a2b1f501228c5db17454970cb7d4e0335bd5c58e Spawning a container 'toolbox-root-user' with image 'registry.opensuse.org/opensuse/leap-micro/5.4/toolbox' Error: keep-id is only supported in rootless mode /usr/bin/toolbox: failed to create container 'toolbox-root-user' /usr/bin/toolbox: line 129: [: -eq: unary operator expected
out of interest the --root seems to pass localhost:~ # toolbox create shell --root Trying to pull registry.opensuse.org/opensuse/leap-micro/5.4/toolbox:latest... Getting image source signatures Copying blob 4f5569407826 skipped: already exists Copying blob 689675fc10b7 skipped: already exists Copying config ec6445de47 done Writing manifest to image destination Storing signatures ec6445de4760822109e015c9a2b1f501228c5db17454970cb7d4e0335bd5c58e Spawning a container 'shell' with image 'registry.opensuse.org/opensuse/leap-micro/5.4/toolbox' Setting up user 'root' (with 'sudo' access) inside the container... (NOTE that, if 'sudo' and related packages are not present in the image already, this may take some time. But this will only happen now that the toolbox is being created) Container created.