【Docker】Alpine Linux 软件管理

Posted by 西维蜀黍 on 2021-04-17, Last Modified on 2021-09-21

Update the Package list

# Update the Package list
$ apk update

Add a Package

Use add to install packages from a repository. Any necessary dependencies are also installed. If you have multiple repositories, the add command installs the newest package.

$ apk add openssh
$ apk add openssh openntp vim

Reference