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
Describe the bug
The UBI image does not include sudo, which as far as I can tell more or less means
that a rootless ubi container cannot install any packages? I would be happy if I am wrong...
however this makes it not very useful yet sadly.
So it seems to me it is necessary to have a ubi-toolbox base container to add sudo etc, like we also do for Fedora?
Are there plans to do this?
Output of toolbox --version (v0.0.90+) toolbox version 0.0.99
Ah thanks - you right that makes a big difference.
(But also with ubi8 locale is not reset to C.utf8 - again not difficult to fix, but another thing to think about: I dunno if toolbox could handle that itself?)
It turns out that the UBI RPM repositories always had sudo in them. It was just the UBI base image that didn't come with sudo. So it was possible to install afterwards.
Since RHEL 8.5, we have the registry.access.redhat.com/ubi8/toolbox:8.5 image that comes with sudo.
Activity
debarshiray commentedon Jan 18, 2021
This was also my initial reaction, but then I saw that UBI has
su! So, this should work:juhp commentedon Jan 19, 2021
Ah thanks - you right that makes a big difference.
(But also with ubi8 locale is not reset to C.utf8 - again not difficult to fix, but another thing to think about: I dunno if toolbox could handle that itself?)
debarshiray commentedon Nov 16, 2021
It turns out that the UBI RPM repositories always had
sudoin them. It was just the UBI base image that didn't come withsudo. So it was possible to install afterwards.Since RHEL 8.5, we have the
registry.access.redhat.com/ubi8/toolbox:8.5image that comes withsudo.Closing.