Proxmox lxc alpine 安装docker
echo "http://mirrors.aliyun.com/alpine/latest-stable/main/" > /etc/apk/repositories \r
&& echo "http://mirrors.aliyun.com/alpine/latest-stable/community/" >> /etc/apk/repositories
apk add docker
service docker start
rc-update add docker boot
推荐 linuxserver/nginx 也支持php和更多插件
docker run -d \r
--name=nginx \r
-e PUID=1000 \r
-e PGID=1000 \r
-e TZ=Europe/London \r
-p 80:80 \r
-p 443:443 \r
--restart unless-stopped \r
linuxserver/nginx
Proxmox lxc alpine 安装 openssh-server
apk add openssh-server
service sshd start
rc-update add sshd boot
0 条评论