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

How to best create bash aliases? #18

Open
liquidcms opened this issue May 6, 2021 · 3 comments
Open

How to best create bash aliases? #18

liquidcms opened this issue May 6, 2021 · 3 comments

Comments

@liquidcms
Copy link

If i wanted to create an alias to be available within the wodby bash of all the wodby containers i have created; what is the best way to do this?

Possibly to mount a .wodby.bash.aliases file from my host? and somehow have that run when i enter wodby bash?

@llwp
Copy link

llwp commented Jan 12, 2022

I'm curious if you solved this one, Pete...

@liquidcms
Copy link
Author

I did not.

@csandanov
Copy link
Member

I'm sorry for not responding I completely missed this issue

even if you mount alias file from the host there's probably will be a permissions issue because by default files will be owned by root and you want them under wodby user. We usually fix such issues in entrypoint but I don't think it's a good idea for this use case. I'm pretty sure there are many alternative options though.

What is the most common use case you need this for? Maybe there's a different approach to your problem. Even if it can't be fixed now in Wodby 1, maybe we can fix it in Wodby 2 (it already has a web shell for all containers)

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

3 participants