virtual-dsm (with-pat)
Published 2026-01-12 20:55:46 +08:00 by yujiang
Installation
docker pull git.yujiangrubber.cn/yujiang/virtual-dsm:with-patsha256:64e9a09034b489c8d7b5cfcfb43827279e684ac96168492c7e9fbf3ae9e1e665About this package
Virtual DSM in a Docker container.
Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1763337600' |
| ARG TARGETARCH=amd64 |
| ARG TARGETPLATFORM=linux/amd64 |
| ARG VERSION_ARG=7.50 |
| ARG DEBCONF_NOWARNINGS=yes |
| ARG DEBIAN_FRONTEND=noninteractive |
| ARG DEBCONF_NONINTERACTIVE_SEEN=true |
| RUN |6 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 VERSION_ARG=7.50 DEBCONF_NOWARNINGS=yes DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true /bin/sh -c set -eu && apt-get update && apt-get --no-install-recommends -y install jq tini curl wget fdisk unzip nginx procps ethtool python3 python3-pip python3-msgpack python3-pysodium xz-utils iptables iproute2 dnsmasq fakeroot apt-utils net-tools e2fsprogs qemu-utils websocketd iputils-ping inotify-tools ca-certificates netcat-openbsd qemu-system-x86 && wget "https://github.com/qemus/passt/releases/download/v2025_09_19/passt_2025_09_19_${TARGETARCH}.deb" -O /tmp/passt.deb -q && dpkg -i /tmp/passt.deb && apt-get clean && pip3 install --no-cache-dir --break-system-packages --root-user-action=ignore dissect.cstruct && mkdir -p /etc/qemu && echo "allow br0" > /etc/qemu/bridge.conf && unlink /etc/nginx/sites-enabled/default && sed -i 's/^worker_processes.*/worker_processes 1;/' /etc/nginx/nginx.conf && echo "$VERSION_ARG" > /run/version && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # buildkit |
| COPY --chmod=755 ./src /run/ # buildkit |
| COPY --chmod=755 ./web /var/www/ # buildkit |
| COPY --chmod=755 /qemu-host.bin /run/host.bin # buildkit |
| COPY --chmod=744 ./web/conf/nginx.conf /etc/nginx/default.conf # buildkit |
| ADD --chmod=775 https://raw.githubusercontent.com/sud0woodo/patology/refs/heads/main/patology.py /run/extract.py # buildkit |
| VOLUME [/storage] |
| EXPOSE [139/tcp 22/tcp 445/tcp 5000/tcp] |
| ENV RAM_SIZE=2G |
| ENV CPU_CORES=2 |
| ENV DISK_SIZE=256G |
| HEALTHCHECK &{["CMD-SHELL" "/run/check.sh"] "1m0s" "0s" "45s" "0s" '\x02'} |
| ENTRYPOINT ["/usr/bin/tini" "-s" "/run/entry.sh"] |
| COPY boot.pat /boot.pat # buildkit |
| CMD ["/usr/bin/tini" "-s" "/run.sh"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2025-11-22T04:06:53.889Z |
| org.opencontainers.image.description | Virtual DSM in a Docker container. |
| org.opencontainers.image.licenses | MIT |
| org.opencontainers.image.revision | e0545b37d7380741a27636f95870ee83b998642a |
| org.opencontainers.image.source | https://github.com/vdsm/virtual-dsm |
| org.opencontainers.image.title | Virtual DSM |
| org.opencontainers.image.url | https://github.com/vdsm/virtual-dsm |
| org.opencontainers.image.version | 7.50 |