How to solve Kitematice error “The null does not exist please set the correct path”

If you are using Kitematic to manage Docker machines and while accessing Containers’ CLI – you get an error “The null does not exist please set the correct path”; then here is the solution for that.

Kitematic is an open-source project that makes it easier to get started with Docker by offering a graphical interface with which containers from the Docker Hub registry can be selected and used comparatively easily.

It is available for Windows, macOS, and Ubuntu Linux operating systems. But if you want then can install the Kitematic on RHEL based Linux such as CemtOS, Rocky, AlmaLinux, and others. See our tutorial-  How to install Kitematic docker manager on RedHat-based OS such as CentOS and others…

Coming to the error that is “The null does not exist please set the correct path“. It appears when after installing Kitematic you either click on Docker CLI or EXEC option given for each container.

Docker CLI Null doesnt kitematic error

“null does not exist please set the correct path” Kitematic Error solution.

#Ist Method-

The error appears because the Kitematic is unable to find the default set Xterm command-line terminal application on your system. Thus, to remove this error open your command terminal and install it.

Open command terminal on Ubuntu or Debian and type-

sudo apt install xterm -y

Now, whenever you select Docker CLI or some particular container Exec option this error will not appear.

#Second method- Use system’s default terminal in Kitematic

Well, you don’t need to install Xterm, you can use either your system default command terminal or the one you like by simply changing the path in the Docker settings.

For example, I want to use the default Ubuntu Gnome Terminal, then for that on the Graphical User interface of Kitematic, I will click on the Gear icon given on the left bottom side to open Settings.

null does not exist please set the correct path

 

Change Terminal Path

To use the system terminal, replace the existing Xterm path with-

/usr/bin/gnome-terminal

And also change Exec command Shell from sh to bash.

That’s it. You have successfully solved the error, done and dusted…

Change Terminal Path

 

Other Articles-

 

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

X