scout-cli
scout-cli copied to clipboard
`docker is not installed; refusing to install ...` when $DOCKER_HOME is not set
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
~$
@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:
- 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. - To set the
DOCKER_HOMEenvironment variable, you can add the following line to your ~/.bashrc file:export DOCKER_HOME=~/.dockerand then reload the config through :-source ~/.bashrc - 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