docker-autocompose
docker-autocompose copied to clipboard
Generate a docker-compose yaml definition from a running container
When running `sudo docker run --rm -v /var/run/docker.sock:/var/run/docker.sock red5d/docker-autocompose:latest container1 container2` we're getting the following error ``` WARNING: The requested image's platform (linux/amd64) does not match the detected host platform...
should be network_mode: "host" in docker-compose but it gets created like: ``` networks: - host networks: host: external: true name: host ```
Hello I have some static IPs set for various containers and for some reason it isn't saving those fields.
It'd be kind of useful if there was an `all` argument one could pass instead of individual container names. Would be a little bit of a time saver where we...
I had test it for example with portainer. because there is no volumes section, docker-compose raise an error. docker-compose: no declaration was found in the volumes section Output: version: "3"...
I am getting this error when running sudo python autocompose.py any container File "autocompose.py", line 42 def is_date_or_time(s: str): ^ SyntaxError: invalid syntax Docker Info Client: Context: default Debug Mode:...
While tring to get the docker compose of an old container that use the network of another container it gives this error: `Traceback (most recent call last): File "/root/docker-autocompose-master/autocompose.py", line...
For lack of a better name I called the option --wildcard (-w). It will select all containers that have the specified text in their names. Use case: easily create stack...
The generated docker-compose.yml file below is not accepted by docker compose ``` version: "3" services: seafile-memcached: container_name: seafile-memcached entrypoint: - memcached - -m - 256 ``` I had to group...
Script failed with the following exception when tried to get compose yaml from the running container. ``` $ sudo python3 ./autocompose.py Traceback (most recent call last): File "/tmp/docker-autocompose/autocompose-venv/lib/python3.8/site-packages/docker/api/client.py", line 214,...