Mikolaj
Mikolaj

Reputation: 356

Use toml file format instead of yaml or json for docker compose... is it possible?

I just wondering about toml support for docker-compose.

I've only found following Reddit implementation of toml instead yaml.

Does anyone know something more about toml support or more official implementation?

Upvotes: 2

Views: 1534

Answers (2)

Eli
Eli

Reputation: 1

You can use nushell builtins to convert between the two

open docker-compose.toml | to yaml | save docker-compose.yml

Hope this helps!

Upvotes: 0

Pariti
Pariti

Reputation: 21

I had the same problem once and was wondering. I found Issue on GitHub:

Check, maybe you will find something useful for yourself.

Upvotes: 2

Related Questions