File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ checks() {
101
101
>&2 echo " - or simply log back in as the desired unprivileged user (ssh works for remote machines)"
102
102
exit 1
103
103
fi
104
- export XDG_RUNTIME_DIR=" /tmp/ docker- $( id -u ) "
105
- mkdir -p " $XDG_RUNTIME_DIR "
104
+ export XDG_RUNTIME_DIR=" $HOME /. docker/run "
105
+ mkdir -p -m 700 " $XDG_RUNTIME_DIR "
106
106
XDG_RUNTIME_DIR_CREATED=1
107
107
fi
108
108
@@ -307,6 +307,7 @@ print_instructions() {
307
307
echo " # Make sure the following environment variables are set (or add them to ~/.bashrc):\n"
308
308
309
309
if [ -n " $XDG_RUNTIME_DIR_CREATED " ]; then
310
+ echo " # WARN: systemd not found. You have to remove XDG_RUNTIME_DIR manually on every logout."
310
311
echo " export XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR "
311
312
fi
312
313
You can’t perform that action at this time.
0 commit comments