Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Since alpine 3.14, using bash, basic auto completion (from $PATH, etc) doesn't work anymore #219

Open
remiville opened this issue Dec 9, 2021 · 1 comment

Comments

@remiville
Copy link

remiville commented Dec 9, 2021

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)

@jedix
Copy link

jedix commented Jan 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants