---
title: "Discussion on \"Generate compose file from docker container\" | Hashnode"
description: "Discussion on \"Generate compose file from docker container\". Specific container/ containers\ndocker run --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/red5d/docker-autocompose <container-name-or-id> <additional-names-or-ids>...\n\nAdd container id separated by comma, if more than one.\nFor all container..."
url: "https://hashnode.com/posts/generate-compose-file-from-docker-container/63dfd7ad1e8bb53976f13b1a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Generate compose file from docker container](https://blog.ahmadullah.in/generate-compose-file-from-docker-container?utm_source=hashnode&utm_medium=feed)

Specific container/ containers 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>... Add container id separated by comma, if more than one. For all container...

Feb 5, 2023 · 1 min read · blog.ahmadullah.in  
Read the article

-   [#docker](https://hashnode.com/tag/docker)

## Written by

[Ahmadullah Mirza](https://hashnode.com/@aumirza)

@aumirza · India

  
[View profile](https://hashnode.com/@aumirza)

Frontend developer, discovering the web.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
