We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce:
1: make a docker-compose.yml file
docker-compose.yml
version: "3.4" services: nginx: image: nginx:alpine volumes: - type: bind target: /app
2: run stack deploy commands
stack deploy
$: docker stack deploy -c docker-compose.yml nginx
Results: The directory of the compose file being set when a source is not passed to a volume of type bind (using the long compose syntax)
compose
Run inspect on service
inspect
$: docker service inspect nginx_nginx
"Mounts": [ { "Type": "bind", "Source": "/home/ubuntu/path/to/compose/file", "Target": "/app" } ]
Expected: The cli equivalent produces the following error: invalid mount config for type "bind": field Source must not be empty.
invalid mount config for type "bind": field Source must not be empty.
Output of docker version:
docker version
$: docker version Client: Version: 17.09.1-ce API version: 1.32 Go version: go1.8.3 Git commit: 19e2cf6 Built: Thu Dec 7 22:22:25 2017 OS/Arch: darwin/amd64 Server: Version: 17.09.1-ce API version: 1.32 (minimum version 1.12) Go version: go1.8.3 Git commit: 19e2cf6 Built: Thu Dec 7 22:28:28 2017 OS/Arch: linux/amd64 Experimental: false
The text was updated successfully, but these errors were encountered:
Should be fixed by #824
Sorry, something went wrong.
Should this issue be closed @thaJeztah ?
Yes, this can be closed
Successfully merging a pull request may close this issue.
Steps to reproduce:
1: make a
docker-compose.yml
file2: run
stack deploy
commandsResults:
The directory of the
compose
file being set when a source is not passed to a volume of type bind (using the long compose syntax)Run
inspect
on serviceExpected:
The cli equivalent produces the following error:
invalid mount config for type "bind": field Source must not be empty.
Output of
docker version
:The text was updated successfully, but these errors were encountered: