-
Notifications
You must be signed in to change notification settings - Fork 388
Closed
Labels
Description
I'm on Ubuntu 20.04.2 LTS and use the latest git master version of x11docker
:
$ git log -1
commit 4034809021e1800701ed83ab063f8aecf466847d (HEAD -> master, origin/master, origin/HEAD)
Author: mviereck <bachbaum24@gmx.de>
Date: Mon Sep 13 17:27:25 2021 +0200
--sudouser: fix argument check/no arg
When I start my docker container with the following command:
$ x11docker --runasroot 'sed -r "s/^[[:blank:]]*[|]//" <<-EOF > /etc/sudoers
|#$ sudo grep -Ev '\''^[ ]*(#|$)'\'' /etc/sudoers
|Defaults env_reset
|Defaults mail_badpass
|Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
|root ALL=(ALL:ALL) ALL
|%admin ALL=(ALL) ALL
|%sudo ALL=(ALL:ALL) ALL
|$USER ALL=(ALL) NOPASSWD:ALL
EOF' --xephyr --network=bridge --pulseaudio --xoverip --home --share=$HOME --sudouser -c --desktop --init=systemd -- --device /dev/mem:/dev/mem --cap-add=ALL -- hongyizhao/deepin-wine
I always noticed the following symlink will be created:
$ ls -l werner
lrwxrwxrwx 1 werner werner 17 Sep 23 11:27 werner -> /home.host/werner
$ ls -l /home.host/werner
ls: cannot access '/home.host/werner': No such file or directory
Regards,
HZ