Docker Community Forums

Share and learn in the Docker community.

Stack file volume issues


(Fletcher Tomalty) #1

This stack file doesn’t work on Docker Cloud, despite seeming to be valid. https://github.com/thelounge/docker-lounge/blob/master/docker-compose.yml

The issue seems to be with the volumes line. Removing it works. The “stack YAML reference” that the error message links to specifies that exact syntax for volumes. https://docs.docker.com/docker-cloud/apps/stack-yaml-reference/#/volumes

I’ve attached a screenshot, if that helps.


(Allan Sun) #2

Looks like nothing wrong with your stackfile, it’s the DockerCloud web interface’s bug, currently I cannot create any stack from the web interface, even with only one simple ‘image’ instruction


(LRubin) #3

Hey @fletom, can you try removing the tilde (~) from the path and see if that works?