Skip to content

Commit 4e8ff19

Browse files
authored
Updates about ARM support, dependency listing, and formatting/wording
1 parent 8ada367 commit 4e8ff19

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# docker-autocompose
2-
Generates a docker-compose yaml definition from a running container.
2+
Generates a docker-compose yaml definition from a docker container.
33

44
Required Modules:
5-
* [pyaml](https://pypi.python.org/pypi/pyaml/)
6-
* [docker](https://pypi.python.org/pypi/docker)
5+
* [pyaml](https://pypi.python.org/project/pyaml/)
6+
* [docker](https://pypi.python.org/project/docker)
7+
* [six](https://pypi.python.org/project/six)
78

89
Example Usage:
910

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

3334
## Docker Usage
3435

35-
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/)
36+
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)
3637

37-
Build the container by running:
38+
Pull the image from GitHub (supports both x86 and ARM)
3839

39-
docker build -t red5d/docker-autocompose .
40+
docker pull ghcr.io/red5d/docker-autocompose:latest
4041

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

43-
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock red5d/docker-autocompose <container-name-or-id> <additional-names-or-ids>...
44+
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>...
4445

0 commit comments

Comments
 (0)