Open remiville opened 2 years ago
Same is true for Fedora 35 with docker 19.03.8. With alpine 3.13.6 it's working, with 3.14 and 3.15 it's not
This is probably not a bug: It relates to #156 and is explained by the release notes for Alpine 3.14: https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2
After updating docker to 20.10.12 everything seems to be working.
With alpine 3.13, if I install bash (apk add bash) and use it, I can double tab in the command prompt and see processes referenced by the PATH variable.
Since alpine 3.14 (and to at least 3.15) this doesn't work anymore, the workaround is to run the container with --privileged=true but it is less safe.
Tested on host centos 7, with docker 18.03.1-ce, build 9ee9f40 (Linux 4.16.10-1.el7.elrepo.x86_64 #1 SMP Sun May 20 18:18:53 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux) I'm not sure but I think I don't have this issue when the host is Ubuntu 20.04.3 LTS on WSL2 (Linux 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux + docker 18.06.3-ce, build d7080c1)