Alpine Configuration

Automount CIFS

apk add cifs-utils
vi /etc/fstab

//[ip]/[folder] /[mount point] cifs credentials=[credentials file] 0 0

vi [credentials file]

username=[username]
password=[password]

rc-update add netmount boot


Docker

https://wiki.alpinelinux.org/wiki/Docker#Installation

vi /etc/apk/repositories

uncomment community repository

apk add docker
rc-update add docker boot
service docker start


docker-compose

https://wiki.alpinelinux.org/wiki/Docker#Docker_Compose

apk add py-pip
apk add python3-dev libffi-dev openssl-dev gcc libc-dev make
apk add docker-compose

–update 2023-01-10 change from python-dev to python3-dev in docker-compose setup

–update 2025-05-09

run

mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun
echo “tun” > /etc/modules-load.d/tun.conf
modprobe tun


Leave a Reply

Your email address will not be published. Required fields are marked *