14 lines
209 B
Bash
14 lines
209 B
Bash
#!/bin/bash
|
|
|
|
exec systemd-run \
|
|
-q \
|
|
--pty \
|
|
--pipe \
|
|
--same-dir \
|
|
--uid $(id -u) \
|
|
--gid $(id -g) \
|
|
-p SupplementaryGroups=docker \
|
|
$(compgen -e | sed 's/^/-E ') \
|
|
$SHELL
|
|
|