Docker installation commands don't work?

How severe does this issue affect your experience of using Ray?

  • Medium: It contributes to significant difficulty to complete my task, but I can work around it.

I might be wrong here, but using AMI: ami-017fecd1353bcc96e (ubuntu 22), the recommended Docker installation commands:

curl -fsSL -o
sudo sh
sudo usermod -aG docker $USER
sudo systemctl restart docker -f

don’t work.

More specifically, they do install docker, but … I can’t run docker login and docker pull (maybe other commands too, I just haven’t tried), without a sudo in front.

This causes issues, because Ray will run docker pull without sudo, which causes setup to crash.

Just to understand, is there a reason why you can’t use sudo? if it’s really necessary, you should be able to follow docker’s usual recommended steps for avoiding root access. Post-installation steps for Linux | Docker Documentation