Docker Community Forums

Share and learn in the Docker community.

How to install applications inside Docker?


(Joe232) #1

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?


(Jjfraney) #2

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

John


(Derf974) #3

I think you need to use --noconfirm