[ About | Licence | Contacts ]
Written by Oleksandr Gavenko (AKA gavenkoa), compiled on 2018-11-21 from rev fcdd583e8795+.

Alpine Linux distro

Init system

Manage run levels:

rc-update add $SERVICE $LEVEL
rc-update del $SERVICE $LEVEL
rc-service $SERVICE start
rc-service $SERVICE restart
rc-service $SERVICE stop

Equivalent to shutdown -r now from traditional GNU/Linux systems:

reboot

Equivalent to shutdown -h now from traditional GNU/Linux systems:

halt

To turn off the machine:

poweroff
https://wiki.alpinelinux.org/wiki/Alpine_Linux_Init_System
Alpine Linux Init System

Package manager

Update local package database:

$ sudo apk update

Upgrade package to latest version:

$ sudo apk upgrade

Install package:

$ sudo apk add bash

Do not grab package index with --no-cache option to reduce installation size:

$ apk add --no-cache bash