Export your Docker compose files and structure

This useful command exports all the docker-compose.yaml files from a folder to another while keeping the tree structure.

This useful command exports all the docker-compose.yaml files from a folder to another while keeping the tree structure.

find ~/docker/ -name '*docker-compose*.yml' -exec cp --parents \{\} ~/docker-structure/ \;
Looking for help?
If you are looking for some help or want a quick chat, please head over to the Discord Community!