Skip to content

Commit

Permalink
🐛 Fix hostname in docker args formation
Browse files Browse the repository at this point in the history
  • Loading branch information
hexfaker committed Aug 24, 2022
1 parent 9005039 commit c54541d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doh/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def volume_args(config: Config, context: Context) -> List[str]:


def get_default_args(config: Config, context: Context) -> List[str]:
res = ["--ipc=host", "--pid=host", "--hostname", "context.environment_id"]
res = ["--ipc=host", "--pid=host", "--hostname", context.environment_id]

if config.workdir_from_host:
res += ["--workdir", str(context.project_dir)]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "doh"
version = "0.2.8"
version = "0.2.10"
description = "Make docker interactive usage less painful"
readme = "README.md"
authors = [
Expand Down

0 comments on commit c54541d

Please sign in to comment.