BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
263 stars 95 forks source link

scripts: make dockerenv.sh and docker_exec.sh podman-compatible #1039

Closed benma closed 1 year ago

benma commented 1 year ago

podman is a (almost) drop-in replacment to docker that runs rootless and without a daemon. Since it runs rootless, it maps the host user to the root user inside the container. This clashes with the tricks used for docker to mount the volume with the same host user id and group id. This script removes these docker tricks when using podman.