Using docker context with Lambda VM

@BCF
Fri, 05 Sep 2025 07:30:55 +0000

Hello,

I’m looking to use the docker context feature with lambda cloud VMs. The problem seems to be that all docker commands in lambda must run with sudo and this probably blocks the docker context communication. I tried logging in a root but it’s not allowed. What’s the proper way to setup a lambda cloud VM as a docker context from my local machine?