add docker-shell script
This commit is contained in:
1 parent
1048c0f38f
commit
72c2ed24a7
1 file changed
+13
@@ -0,0 +1,13 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
Reference in new issue
Block a user