mirror of
https://github.com/dockersrc/archlinux
synced 2026-06-24 14:01:00 -04:00
3693a35d4469afbd12d8792a14acf328dcc913ca
--domainname on the container sets the kernel domainname, which c-ares uses to infer a search domain even when /etc/resolv.conf has no search line. This caused c-ares to query github.com.casjay.work AAAA and get the host's own IPv6 address, routing all outbound HTTPS to the local nginx instead of the real server. Adding 'search .' and 'options ndots:0' explicitly disables search domain inference regardless of the kernel domainname setting. - rootfs/usr/local/etc/resolv.conf: add search . and options ndots:0 rootfs/usr/local/etc/resolv.conf
👋 Welcome to archlinux 🚀
archlinux README
Install my system scripts
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
Automatic install/update
dockermgr update os archlinux
Install and run container
mkdir -p "/var/lib/srv/root/docker/casjaysdev/archlinux/latest"
git clone "https://github.com/dockermgr/archlinux" "$HOME/.local/share/CasjaysDev/dockermgr/archlinux"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/archlinux/rootfs/." "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/"
docker run -d \
--restart always \
--privileged \
--name casjaysdev-archlinux-latest \
--hostname archlinux \
-e TZ=${TIMEZONE:-America/New_York} \
-v "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/data:/data:z" \
-v "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/config:/config:z" \
casjaysdev/archlinux:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdev/archlinux
container_name: casjaysdev-archlinux-latest
environment:
- TZ=America/New_York
- HOSTNAME=archlinux
volumes:
- "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/data:/data:z"
- "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/config:/config:z"
restart: always
Get source files
dockermgr download src os archlinux
Build container
git clone "https://github.com/dockersrc/archlinux" "$HOME/Projects/github/dockersrc/archlinux"
cd "$HOME/Projects/github/dockersrc/archlinux" && buildx all
Authors
Description
Languages
Shell
95.7%
Dockerfile
4.3%