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

Don't use sudo when calling install_docker.sh #79

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

Zalgo2462
Copy link
Contributor

Changes the call to install_docker.sh to not use sudo.

install_docker.sh will now change the permissions of /root/.docker/ instead of /home/$USER/.docker if called with sudo. This is due to a dependence on the $HOME and $USER environment variables (https://github.com/activecm/shell-lib/pull/32/files#diff-f3e0a0941c66122866ca45f12d8b454acd151795c087ccdcbd0d1b6c7205040eR200). Previously, the script did not handle setting the permissions of this folder since docker compose v1 did not need the user to be able to access this folder without sudo.

@caffeinatedpixel caffeinatedpixel merged commit c2efade into master Apr 28, 2023
@caffeinatedpixel caffeinatedpixel deleted the 2299-docker-perms branch April 28, 2023 17:01
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

Successfully merging this pull request may close these issues.

2 participants