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

docker is not installed; refusing to install ... when $DOCKER_HOME is not set #126

Open
samuel-andres opened this issue Jun 13, 2024 · 1 comment

Comments

@samuel-andres
Copy link

I'm trying to install scout on my fedora box and I'm getting this error, it seems that is because I don't have the $DOCKER_HOME environment variable set, but I couldn't find any documentation on that, I'm good setting that env var to ~/.local/share/docker or ~/.docker ? the error message is a bit confusing since I have docker installed

~$ sh install-scout.sh
\033[0;31m\033[1m[error]\033[0m docker is not installed; refusing to install to '/home/samuel/.docker/cli-plugins' \033[0m
~$
@Siddharth-Latthe-07
Copy link

@samuel-andres the issue indicates that the install-scout.sh script is looking for Docker, but it's not finding it in the expected location or it's not set up correctly. The $DOCKER_HOME environment variable might not be the issue; instead, it seems like the script is unable to detect Docker properly.
Try out these steps and let me know if it works:

  1. Ensure docker is properly installed and set the docker's cli plugins directory through:-
    You can set the DOCKER_HOME environment variable,
    Docker's CLI plugins should be in ~/.docker/cli-plugins.
  2. To set the DOCKER_HOME environment variable, you can add the following line to your ~/.bashrc file:
    export DOCKER_HOME=~/.docker and then reload the config through :- source ~/.bashrc
  3. Make sure that the plugins directory exists and then re run the installation script again

hope, this helps and let me know if it doesn't
Thanks

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