mirror of
https://github.com/casjaysdevdocker/xfce4
synced 2026-07-13 23:45:54 -04:00
62ebaa0a2e
xfce4 / release-xfce4 (push) Has been cancelled
Update volume mount examples and dockerHome variable from the old /var/lib/srv/$USER/docker layout to /srv/$USER/docker. - README.md: update volume path references to /srv/$USER/docker README.md rootfs/usr/local/bin/copy rootfs/usr/local/bin/healthcheck rootfs/usr/local/bin/symlink
1.8 KiB
1.8 KiB
👋 Welcome to xfce4 🚀
xfce4 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 xfce4
Install and run container
dockerHome="/srv/$USER/docker/casjaysdevdocker/xfce4/xfce4/latest/rootfs"
mkdir -p "/srv/$USER/docker/xfce4/rootfs"
git clone "https://github.com/dockermgr/xfce4" "$HOME/.local/share/CasjaysDev/dockermgr/xfce4"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/xfce4/rootfs/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-xfce4-latest \
--hostname xfce4 \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/xfce4:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/xfce4
container_name: casjaysdevdocker-xfce4
environment:
- TZ=America/New_York
- HOSTNAME=xfce4
volumes:
- "/srv/$USER/docker/casjaysdevdocker/xfce4/xfce4/latest/rootfs/data:/data:z"
- "/srv/$USER/docker/casjaysdevdocker/xfce4/xfce4/latest/rootfs/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/xfce4
OR
git clone "https://github.com/casjaysdevdocker/xfce4" "$HOME/Projects/github/casjaysdevdocker/xfce4"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/xfce4"
buildx