Red5d / docker-autocompose

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

/var/run/docker.sock - docker compose issue #44

Closed shuther closed 1 year ago

shuther commented 1 year ago

docker-autocompose generates a docker-compose.yml that returns an error for docker compose (2.9.0)

volumes:
  /var/run/docker.sock:
    external: true

Removing the 3 lines above from docker-compose.yml fix the issue.

acdoussan commented 1 year ago

probably fixed with the latest commit, could you try that?

If not, please add the output of docker inspect <container name>

shuther commented 1 year ago

you answered very fast; unfortunately I removed the container that led to the issue so I can't test it further.