Docker installation dev env setup fails ("setup-dev-env.sh" script, Ansible doesn't ask password for sudo) #4724
-
Hi all, I'm a new user of Autoware, we decided to use it for a European project about autonomous driving. While following the Docker installation guide, after installing on Ubuntu 24.04 all the needed prerequisites (Docker, NVIDIA Container Toolkit, NVIDIA CUDA 12 compatible GPU Driver), I stumbled upon the following error (executing
I suspect the problem is about the Ansible automation engine that is somehow NOT asking me for the root password, but I really don't know why this happens. Please let me know if you have any information regarding this problem. Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If anyone encounters this problem, the solution is to gain root privileges for your user using |
Beta Was this translation helpful? Give feedback.
If anyone encounters this problem, the solution is to gain root privileges for your user using
sudo
.One of the quickest ways to do so is by executing
sudo visudo
and exiting from the opened nano editor with Ctrl + X.The above error won't happen again once
sudo
has been executed on your current shell (you'll have root privileges for some time).