Dev Env should not use sudo by default

This commit is contained in:
Andrey Berezin 2023-09-18 17:48:30 +03:00
parent f7ef8cb881
commit b627a56819

View file

@ -61,7 +61,7 @@ class ServiceAttributes(ParsedAttributes):
class DockerHost(Host): class DockerHost(Host):
"""Manages services hosted in Docker containers running on a local or remote machine.""" """Manages services hosted in Docker containers running on a local or remote machine."""
def get_shell(self, sudo: bool = True) -> Shell: def get_shell(self, sudo: bool = False) -> Shell:
host_attributes = HostAttributes.parse(self._config.attributes) host_attributes = HostAttributes.parse(self._config.attributes)
command_inspectors = [] command_inspectors = []
if sudo: if sudo: