Skip to content

Commit

Permalink
Using hostname of the container instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Dramelac committed Oct 14, 2023
1 parent a4c07b2 commit b525d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exegol/utils/DockerUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def createContainer(cls, model: ExegolContainerTemplate, temporary: bool = False
"detach": True,
"name": model.container_name,
"hostname": model.hostname,
"extra_hosts": {model.hostname: '127.0.0.1'},
#"extra_hosts": {model.hostname: '127.0.0.1'}, # TODO add this extra_host for network none
"devices": model.config.getDevices(),
"environment": model.config.getEnvs(),
"labels": model.config.getLabels(),
Expand Down

0 comments on commit b525d69

Please sign in to comment.