Question
How to make the YAML files be recognized by the IDE as Docker Compose ones? How to make the file recognized as Docker Compose be displayed as a plain YAML file?
Answer
To make the YAML file recognized as a Docker Compose, ensure one of the following two requirements is met:
- the file has a
composeline in the name and includes one of the top-level Docker Compose options (version,name,networks,volumes,secrets,configs); the file includes two of the mentioned above top-level options.
If the file is wrongly recognized as a Docker Compose one, unfortunately, the only option is to disable the bundled Docker plugin. Also, please consider upvoting the Add possibility to unassign the YAML files recognized as Docker Compose ones issue so we can evaluate the number of affected users and adjust our plans on the fix implementation.
Comments
0 comments
Please sign in to leave a comment.