Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

less command missing Ubuntu 20.10 image #209

Closed
aplatypus opened this issue Jun 1, 2021 · 1 comment
Closed

less command missing Ubuntu 20.10 image #209

aplatypus opened this issue Jun 1, 2021 · 1 comment

Comments

@aplatypus
Copy link

I am just starting with containers and thought I'd begin with Ubuntu as Im familar with it already. I am running a bash session interactively, as follows:

 podman --runtime=crun  run --rm --interactive --userns=keep-id --tty   ubuntu:20.10 bash

The Image Id is: 69040ea16df0

I attempted to use the less command -- It was not found. the more command is there. I don't know if this is an oversight or not.

I would expect the basic commands to be present.

@tianon
Copy link
Owner

tianon commented Jun 2, 2021

This is expected -- the images only contain the bare minimum necessary. If you need less, you'll need to install it:

FROM ubuntu:20.10
RUN apt-get update && apt-get install -y less

@tianon tianon closed this as completed Jun 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants