Update proxypass.py

pull/46/head
fr0stshard 2024-12-23 20:21:16 +02:00 committed by GitHub
parent d4a3b8164d
commit b32ab68ecf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 8 deletions

View File

@ -64,14 +64,7 @@ class ProxyPasser:
return self._tunnel_url
else:
self.kill()
if "DOCKER" in os.environ:
# We're in a Docker container, so we can't use ssh
# Also, the concept of Docker is to keep
# everything isolated, so we can't proxy-pass to
# open web.
return None
# вырезана проверка на контейнер
logger.debug("Starting proxy pass shell for port %d", port)
self._sproc = await asyncio.create_subprocess_shell(
(