This question already has an answer here:
I just upgrade to ubuntu to 18.04 fr0m 16.04. I was using unity launcher but when I upgrade ubuntu version it switched with dock (I assume)
Now I want to remove or hide dock. I tried these methods but none of them worked for me..
Have you another advice ?