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

Demo requires sudo to run #4

Open
tnkhanh opened this issue Sep 9, 2022 · 3 comments
Open

Demo requires sudo to run #4

tnkhanh opened this issue Sep 9, 2022 · 3 comments

Comments

@tnkhanh
Copy link

tnkhanh commented Sep 9, 2022

I'm trying to run the demo on Ubuntu 22.04. There will be Permission denied if I don't run with sudo
To successfully run the demo, I have to run

sudo make build
sudo make setup
sudo make transfer

Is this a bug or it is expected?
Thanks!

@mattsu6666
Copy link
Member

mattsu6666 commented Sep 9, 2022

Thank you for trying this demo.
Unfortunately, I'm using MacOS, so I apologize that my answer may not be accurate.

This demonstration mainly depends on Docker, so I assume that Docker requires permissions in your environment.
Besides, Linux docker uses Unix sockets owned by root by default.

If so, I hope you will try the following.
https://docs.docker.com/engine/install/linux-postinstall/

@tnkhanh
Copy link
Author

tnkhanh commented Sep 11, 2022

I see. Thanks.
I can modify some part to adapt this to Linux

@tnkhanh
Copy link
Author

tnkhanh commented Sep 19, 2022

Thanks. Usually, I can run containers without sudo without problems.
From what I see, in the demo, containers create files owned by root then it tries to delete those files later. And it cannot delete them, causing errors

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