• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


04 Feb, 2025

Updated at 08 Feb, 2025

Exec: "go": executable file not found in $PATH

Hi there. I’m pretty much new to Docker and my first try says:
2025-02-03 19:39:16 2025/02/03 18:39:16 loading imports: exec: “go”: executable file not found in $PATH
It’s quit clear what this means, but if Docker only looks in this $PATH:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
then it is quit obvious that it’s not going to find my GO file.
So, how do I set the $PATH so that Docker will find my GO executable?

2 posts - 2 participants

Read full topic