Skip to content

Commit 48e9243

Browse files
committed
Select correct hostname for Podman
1 parent ced04a5 commit 48e9243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repo2docker/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def start_container(self):
588588
client = self.get_engine()
589589

590590
docker_host = os.environ.get("DOCKER_HOST")
591-
if docker_host:
591+
if docker_host and docker_host.find("podman") != -1:
592592
host_name = urlparse(docker_host).hostname
593593
else:
594594
host_name = "127.0.0.1"

0 commit comments

Comments
 (0)