Using docker context with Lambda VM

@mpapili Michael
Fri, 05 Sep 2025 10:08:19 +0000

I’m not at a machine currently to verify, but you have sudo access on the default “ubuntu” user. Couldn’t you grant access to the Docker group to this user as a one time operation for each instance and then use Docker Context from your laptop normally?

sudo usermod -aG docker ubuntu

-then get a new session and verify that docker commands work without the need for sudo