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

ERROR: ~/.config: read-only file system #569

Open
lars18th opened this issue Jul 31, 2024 · 4 comments
Open

ERROR: ~/.config: read-only file system #569

lars18th opened this issue Jul 31, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@lars18th
Copy link

Describe the bug
Inside some frugal Linux distributions the root directory is read-only. When running it as root you receive this error:
mkdir /root/.config: read-only file system

Additional context
You need to provide one command line parameter to configure an alternative config directory. Or in case of failing use another path (i.e. /run/lazydocker)

@lars18th lars18th added the bug Something isn't working label Jul 31, 2024
@lars18th
Copy link
Author

lars18th commented Sep 6, 2024

Hi @jesseduffield ,

You will provide a solution for this?

@jesseduffield
Copy link
Owner

I have no intentions on fixing this anytime soon, but I will happily review a PR. Would you be up to the task?

@nikonhub
Copy link

Hey,

I'd be happy to contribute. But after some search I've found this env variable CONFIG_DIR.
So wouldn't calling lazydocker with it resolve your problem ?

CONFIG_DIR=/some_other_place lazydocker

@sequencerr
Copy link

I'm running for local user with sudo for current environment and it works. but there is cli argument that I don't know what does it mean/, existing for. the --config print default configuration. but description says "current default". which have no sense

sequencerr added a commit to sequencerr/dotfiles that referenced this issue Nov 7, 2024
+ fix select in (fallback from fzf)
+ disable mouse
+ fix no logs. see: jesseduffield/lazydocker#569 jesseduffield/lazydocker#218 jesseduffield/lazydocker#574
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants