mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-25 09:23:31 +01:00
del hostname
This commit is contained in:
parent
b62b817c66
commit
3759b2ca28
@ -157,6 +157,7 @@ def tr_cntnet(project_name, services, given_containers):
|
||||
cnt["depends"]=deps
|
||||
# adjust hosts to point to localhost, TODO: adjust host env
|
||||
adj_hosts(services, cnt, '127.0.0.1')
|
||||
if "hostname" in cnt: del cnt["hostname"]
|
||||
containers.append(cnt)
|
||||
move_port_fw(infra, containers)
|
||||
move_extra_hosts(infra, containers)
|
||||
|
Loading…
Reference in New Issue
Block a user