Skip to content

Commit

Permalink
Merge pull request #260 from Agasd/bugfix_--add-host
Browse files Browse the repository at this point in the history
Fix for --add-host issue
  • Loading branch information
mariotoffia authored Jun 7, 2022
2 parents 462153d + ac04fc7 commit 061a5ef
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -848,9 +848,8 @@ public override string ToString()

if (null != HostIpMappings && 0 != HostIpMappings.Count)
{
sb.Append(" --add-host=");
foreach (var mapping in HostIpMappings)
sb.Append($"--add-host={mapping.Item1}:{mapping.Item2}");
sb.Append($" --add-host={mapping.Item1}:{mapping.Item2}");
}

if (Ulimit.Count > 0)
Expand Down

0 comments on commit 061a5ef

Please sign in to comment.