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

fix: docker section is shown always in rootless mode #1463

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

didlich
Copy link

@didlich didlich commented Oct 29, 2024

Description

docker has rootless mode, where 'docker context ls' command returns besides 'default' entry also 'rootless' entry:

docker context ls
NAME DESCRIPTION DOCKER ENDPOINT ERROR
default Current DOCKER_HOST based configuration unix:///var/run/docker.sock
rootless * Rootless mode unix:///run/user/1000/docker.sock

this leads to docker prompt section is shown always,

grafik

to prevent this behavior it need to be filtered out like the 'default' entry

a similar fix was already applied in #1025 for macOS specific docker context, or this PR #1376

docker has rootless mode, where 'docker context ls' command returns besides 'default' entry also 'rootless' entry, which leads to docker prompt section is shown always,  to prevent this behavior it need to be filtered out like the 'default' entry
@didlich
Copy link
Author

didlich commented Nov 6, 2024

hello all,
there is some kind of dependency error in the pipeline build:
grafik

I'm not sure if I need to do something, or someone other has to trigger the pipeline again, please advise

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

Successfully merging this pull request may close these issues.

2 participants