I'm using Fedora 35 Linux and I installed IntelliJ IDEA via flatpak, and when I try to use the docker
command in the IDEA's terminal window, it gives me the following error message:
bash-5.1$ docker
bash: docker: command not found
In a normal terminal window I can use the docker
command fine with my user.
I installed the fish terminal too for my user but the IDEA not see the fish
command too.
The Terminal config in the IDEA looks like this:
CodePudding user response:
I installed IntelliJ IDEA via flatpak
IntelliJ IDEA's terminal can't see docker executables because the environment running the IDEA is a sandbox and there is no docker or other programs. You could use ls /usr/bin/docker
to check it.
You can install a non-flatpack/non-snap version if you want to use those programs: https://www.jetbrains.com/idea/download/other.html