Icon for Brave from a Distrobox container looks like a gear

In Bluefin I installed Brave in a Distrobox container using Distroshelf. When I click the Brave icon in Bluefin the icon on the taskbar looks like a gear and not the Brave icon. How can I fix that?

You haven’t written why did you install Brave in container. Do you have some integration problem with flatpak? Just in case if you have missed, you can install Brave as flatpak from Flathub.

Sometimes Distrobox does not find icon and that is why gear like icon appears. On computer search for .desktop file (probably named brave.desktop or something) and in this file look for Icon row where is path to icon file. If you change this path to e.g. manually downloaded icon from web, or by entering inside the Brave’s Distrobox container and search for icon and copy it out of container to host.

Brave does not recommend using the Flatpak version. Installing Brave on Linux | Brave

I found the row for icon but it doesn’t show a paths it just says “Icon=brave-browser”.