mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-04-02 07:39:14 +03:00
configure.sh: Detect non-silenced podman-docker.
This commit is contained in:
parent
ae6a9c16a4
commit
292d6bb4e1
@ -64,6 +64,9 @@ check_container_engine() {
|
|||||||
if [[ $inner_uid == *"Permission denied"* ]]; then
|
if [[ $inner_uid == *"Permission denied"* ]]; then
|
||||||
err "The container cannot access files. Are you using SELinux?"
|
err "The container cannot access files. Are you using SELinux?"
|
||||||
die "Please read README.md and check your $1 setup works."
|
die "Please read README.md and check your $1 setup works."
|
||||||
|
elif [[ $inner_uid == *"Emulate Docker CLI"* ]]; then
|
||||||
|
err "Detected podman-docker in use without the warning being silenced."
|
||||||
|
die "Please create /etc/containers/nodocker or specify --container-engine=podman."
|
||||||
elif [ "$inner_uid" -eq 0 ]; then
|
elif [ "$inner_uid" -eq 0 ]; then
|
||||||
# namespace maps the user as root or the build is performed as host's root
|
# namespace maps the user as root or the build is performed as host's root
|
||||||
ROOTLESS_CONTAINER=1
|
ROOTLESS_CONTAINER=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user