nomad-compose icon indicating copy to clipboard operation
nomad-compose copied to clipboard

compose2nomad.rb:28:in `absolute_path': no implicit conversion of nil into String (TypeError)

Open a-t-u-l-k opened this issue 8 years ago • 4 comments

docker-compose.yml.txt

a-t-u-l-k avatar Oct 09 '17 09:10 a-t-u-l-k

Still having a problem with this:

./nomad-compose/compose2nomad.rb langid-docker-compose/docker-compose.yml
./nomad-compose/compose2nomad.rb:28:in `absolute_path': no implicit conversion of nil into String (TypeError)
	from ./nomad-compose/compose2nomad.rb:28:in `load_compose'
	from ./nomad-compose/compose2nomad.rb:40:in `<main>'

jxub avatar Mar 11 '19 21:03 jxub

Same here, it happens with every docker compose YAML file I use, even if I simplify it down to nothing

cocowalla avatar Mar 24 '19 20:03 cocowalla

The only way I've managed to get it to work is to remove the top-level services: element and have the services all as siblings in the top level of the file. 🤷‍♂

julianpistorius avatar Aug 09 '19 21:08 julianpistorius

has anyone got this to work or found any similar tools to convert docker compose files for use with nomad?

jameski83 avatar Dec 20 '19 14:12 jameski83