Alternative: install on generic Linux server - docker container quit after a few seconds later

I was trying to follow the steps of hass.io official Alternative install on generic Linux server on Docker Ce, found here:
https://www.home-assistant.io/hassio/installation/

sudo -i

add-apt-repository universe

apt-get update

apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common

curl -fsSL get.docker.com | sh

curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install" | bash -s

The created docker container quit after few seconds later, and then auto restarting, and then quit again, which cause a continous a loop.
What shall I do?

What do the docker logs tell you?

docker.errors.APIError: 403 Client Error: Forbidden (“cannot create network 944af717b2ab356d08c3d52cd179c39a71a47f8bfceab5b67bd29151cd2d171c (hassio): conflicts with network b88ab28cdd7484f95d26fadf685338fd1e585ef2653ab1d42eaa95f7fefdc873 (br-b88ab28cdd74): networks have overlapping IPv4”)

I’ve used Frenck’s script a couple of times, always worked for me.

Your other docker images trying to use same ports as HA maybe?

You using --net=host for both container

Sorry for my late answer. You are right. It turned out that --net=host of another container was responsible made to to quit the homeassistant container.

Thank you