Comments (2)
As @dhumphrey7 mentioned, appending "> container_name.yml" to the end of the docker run command does actually work and is the best way to output directly to a file.
from docker-autocompose.
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/red5d/docker-autocompose container _name > container_name.yml worked for me. Since the run command just outputs the results to the screen you are able to append that to a file.
from docker-autocompose.
Related Issues (20)
- issue with some entry point
- Container with network within another container HOT 2
- date_or_time syntax error? HOT 1
- Just a little contribution: shell script to execute docker-autocompose and backup yaml HOT 2
- IndexError: list index out of range HOT 1
- Suggestion | command switch to extend any volume variables beyond 'external'
- Shared mounts are not exported properly HOT 4
- Missing values HOT 2
- Cant retrive compose file HOT 3
- Boolean value should be true/false ? HOT 1
- autocompose.py does not use the set context?
- compose.yaml seems to have to many lines
- That container is not available HOT 1
- Block of volumes in random order (mountpoints) HOT 2
- permission denied issue! HOT 2
- RuntimeError: invalid GMT offset
- Export all contrainers at once? HOT 1
- Backup with a small problem at restore (Host/Network)
- Docker error while fetching server API version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-autocompose.