Red5d / docker-autocompose

Generate a docker-compose yaml definition from a running container
1.76k stars 197 forks source link

network_mode: "host" is being translated into a container network named host #39

Closed cocoonkid closed 1 year ago

cocoonkid commented 2 years ago

should be network_mode: "host" in docker-compose but it gets created like:

    networks:
      - host

networks:
  host:
    external: true
    name: host
yeyeto2788 commented 1 year ago

Hey @acdoussan

Can you try this https://github.com/Red5d/docker-autocompose/pull/53? It might give you more information about networks.