3 ms·
How would you install a shell without a package manager? Edit: @mhio That's what I suspected, thank you.
by metadat 2y ago
How would you install a shell without a package manager?
Edit: @mhio That's what I suspected, thank you.
- dralley 2y agoI assume the images are pre built based on a manifest provided by the developer. The developer decides whether or not to include a shell and which shell to include.
- metadat 2y agoWhat are these manifests? I presume you are correct - the images are prebuilt (as typical for docker), but then it's like coreos, what you get is whatever you `docker pull'ed, most likely very basic (by design). Great in cases where the app is a self-contained Go program only requiring libc, but not useful when you need to apt/yum/dnf install anything.
- mhio 2y agoYou don't. There are tools like `nsenter` to act on the container namespaces. https://manpages.debian.org/bookworm/util-linux/nsenter.1.en.html https://manpages.debian.org/bookworm/util-linux/nsenter.1.en...
- deleted 2y ago[deleted]