Skip to content

Searching Docker stack ls and recreates docker compose from data

Notifications You must be signed in to change notification settings

Beastie71/Service2Compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 

Repository files navigation

Service2Compose

Searching Docker stack ls and recreates docker compose from data

Really built for use in our local Docker environment, may be useful for others.

Usage:

Service2Compose -stack= --unnamed --encrypt

will go through find all stacks matching string and attempt to rebuild compose file for that stack

If not -stack specified then does all stacks it finds.

--unnamed Compose goes and creates a long stack name which it uses internally, if you use --unnamed you get what was given initially as the stack name

--encrypt Forces encryption of any of the networks that would be created with the compose

Assumes you are running inside a client bundle.

About

Searching Docker stack ls and recreates docker compose from data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages