How to install applications inside Docker?

How do I install applications on Docker? If I am using ArchLinux based Opereating System the command to install a normal package would be pacman -Syu chromium so how would I force this package manager to install inside a Linux container?

I suggest you look for examples on the web for using the archlinux base image. If it follows the convention of other operating system base images (and why not), pacman is built in to it.

In your Dockerfile, something like
FROM archlinux
RUN packman -Syu chromium


1 Like

I think you need to use --noconfirm

1 Like