Container exits when given --net="host"

Please, share the output of

docker info

and

docker version

Searching for the error message there are many reports but so far I have seen only issues related to not officially supported host operating systems (Alpine, Gentoo) and the containerd version.

For example:

or