Skip to content

Commit

Permalink
Updates about ARM support, dependency listing, and formatting/wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Red5d authored Aug 7, 2021
1 parent 8ada367 commit 4e8ff19
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# docker-autocompose
Generates a docker-compose yaml definition from a running container.
Generates a docker-compose yaml definition from a docker container.

Required Modules:
* [pyaml](https://pypi.python.org/pypi/pyaml/)
* [docker](https://pypi.python.org/pypi/docker)
* [pyaml](https://pypi.python.org/project/pyaml/)
* [docker](https://pypi.python.org/project/docker)
* [six](https://pypi.python.org/project/six)

Example Usage:

Expand Down Expand Up @@ -32,13 +33,13 @@ With this tool, I can easily generate docker-compose files for managing the cont

## Docker Usage

You can use this tool from a docker container without installing it locally by either building it or using the [automated build on dockerhub.](https://hub.docker.com/r/red5d/docker-autocompose/)
You can use this tool from a docker container by either cloning this repo and building the image or using the [automatically generated image on GitHub](https://github.com/Red5d/docker-autocompose/pkgs/container/docker-autocompose)

Build the container by running:
Pull the image from GitHub (supports both x86 and ARM)

docker build -t red5d/docker-autocompose .
docker pull ghcr.io/red5d/docker-autocompose:latest

Use the new image to generate a docker-compose file from a running container or a list of space-separated container names or ids:

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock red5d/docker-autocompose <container-name-or-id> <additional-names-or-ids>...
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/red5d/docker-autocompose <container-name-or-id> <additional-names-or-ids>...

0 comments on commit 4e8ff19

Please sign in to comment.