We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a7e2fb commit 2cca181Copy full SHA for 2cca181
rootless-install.sh
@@ -99,6 +99,11 @@ checks() {
99
>&2 echo "Aborting because rootful Docker is running and accessible. Set FORCE_ROOTLESS_INSTALL=1 to ignore."; exit 1
100
fi
101
102
+ # Check if tun device is avaliable for rootless kit
103
+ if [ ! -e /dev/net/tun ] && [ -z "$FORCE_ROOTLESS_INSTALL" ]; then
104
+ >&2 echo "Aborting because /dev/net/tun is not avaliable. Set FORCE_ROOTLESS_INSTALL=1 to ignore."; exit 1
105
+ fi
106
+
107
# Validate XDG_RUNTIME_DIR
108
if [ ! -w "$XDG_RUNTIME_DIR" ]; then
109
if [ -n "$SYSTEMD" ]; then
0 commit comments