I tried to run this command but still the same
Normally it's an environment variable set to the current user, you can check by typing  echo $USER   in the terminal
Make sure you have entered the commandusermod -aG docker $USEROn the VM you are running your agent on
looks like the user running your clearML agent is not added to the docker group
Note that you might need to log out login or reboot the machine for the change to take effect
WickedBee96 , I think basically you need to find a way to use  docker  commands without requiring  sudo  before
do I need to change USER (with my device name) or it is a keyword