aboutsummaryrefslogtreecommitdiffstats
path: root/services/docker
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2023-07-13 18:10:26 +0000
committerterminaldweller <devi@terminaldweller.com>2023-07-13 18:10:26 +0000
commitb595ac2150e42a22e92b954188ae374d290b3f53 (patch)
treeb5e9d5e421c6d266e669476e2a1dfa4e89383953 /services/docker
parentupdate (diff)
downloadscripts-b595ac2150e42a22e92b954188ae374d290b3f53.tar.gz
scripts-b595ac2150e42a22e92b954188ae374d290b3f53.zip
updateHEADmain
Diffstat (limited to '')
-rwxr-xr-xservices/docker/run14
1 files changed, 0 insertions, 14 deletions
diff --git a/services/docker/run b/services/docker/run
deleted file mode 100755
index 528089e..0000000
--- a/services/docker/run
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-[ -r conf ] && . ./conf
-modprobe -q loop || exit 1
-mountpoint -q /sys/fs/cgroup/systemd || {
- mkdir -p /sys/fs/cgroup/systemd;
- mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd;
-}
-#exec chpst -o 1048576 -p 1048576 dockerd $OPTS 2>&1
-# exec env NO_PROXY="localhost,127.0.0.0/8,192.168.0.0/24,10.0.0.0/8,172.16.0.0/12" HTTPS_PROXY="socks5://127.0.0.1:9995" HTTP_PROXY="socks5://127.0.0.1:9995" chpst -o 1048576 -p 1048576 dockerd $OPTS 2>&1
-# echo localhost,127.0.0.0/8,192.168.0.0/24,10.0.0.0/8,172.16.0.0/12 > /etc/sv/docker/envs/NO_PROXY
-# echo socks5://127.0.0.1:9995 > /etc/sv/docker/envs/HTTP_PROXY
-# echo socks5://127.0.0.1:9995 > /etc/sv/docker/envs/HTTPS_PROXY
-# echo socks5://127.0.0.1:9995 > /etc/sv/docker/envs/ALL_PROXY
-exec chpst -e /etc/sv/docker/envs -o 1048576 -p 1048576 dockerd $OPTS 2>&1