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

Sometimes sudo interferes with docker-compose up #1

Open
KastanDay opened this issue Jan 14, 2023 · 2 comments
Open

Sometimes sudo interferes with docker-compose up #1

KastanDay opened this issue Jan 14, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@KastanDay
Copy link
Collaborator

When trying to use this repo from scratch, I saw that using sudo caused problems, where non-sudo docker-compose -f docker-compose.yml -f docker-compose.extractors.yml up -d worked fine. Weird behavior when the images need to be pulled for the first time.

Docker will likely require your sudo password
2023/01/13 17:58:28 must use ASL logging (which requires CGO) if running as root
2023/01/13 17:58:28 must use ASL logging (which requires CGO) if running as root
2023/01/13 17:58:28 must use ASL logging (which requires CGO) if running as root
[+] Running 0/0
 ⠋ videopreview Pulling                                                                                                                               0.0s
 ⠋ audiopreview Pulling                                                                                                                               0.0s
 ⠋ pdfpreview Pulling                                                                                                                                 0.0s
error getting credentials - err: exit status 1, out: ``
✘ Run failed: echo "Starting Clowder with extractors"
echo "Docker will likely require your sudo password"
sudo docker-compose -f docker-compose.yml -f docker-compose.extractors.yml up -d failed
@KastanDay
Copy link
Collaborator Author

Looks like this issue is correlated with M1 macs: docker/compose#9560

@KastanDay
Copy link
Collaborator Author

From that thread ^^ it seems like sudo is not recommended on mac, but it is on linux.

TODO: update index.md to check platform and only use sudo on linux, not mac.

@KastanDay KastanDay added the bug Something isn't working label Jan 14, 2023
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

1 participant