Red5d / docker-autocompose

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

Backup with a small problem at restore (Host/Network) #72

Open Just2Confuse opened 6 months ago

Just2Confuse commented 6 months ago

Hi, im not sure that this is a autocompose "problem". I running a AdGuard Home Container without problems. If i run autocompose against this i will get this

".
.
 network_mode: "host"
-
.

"

if i try to make a docker -d up i get

docker.errors.InvalidArgument: "host" network_mode is incompatible with port_bindings

I have to remove/edit the line and corect it in portainer after restore.