-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
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
ClientException: host.sourcePath should not be set for volumes in Fargate. #501
Comments
Hi @deshraj,
While #201 did allow for supporting a sourcePath and target as specified in the docker compose volumes syntax, sourcePath is not supported in We are planning on supporting named volumes soon, but in the meantime you should be able to simply specify the target for your volume with launch-type FARGATE, e.g.
Hope this helps! |
Closing this issue due to lack of response. Feel free to re-open if still experiencing problems. Thanks! |
Thanks for the detailed response. It makes a lot of sense. It resolved the issue. :) |
Hey, error: code-snippet: |
Summary
Getting the following error:
ClientException: host.sourcePath should not be set for volumes in Fargate.
Description
Which specific command was run
ecs-cli compose --project-name django-app service up --create-log-groups --cluster-config django
Which version of the CLI you are using (Run:
ecs-cli --version
)ecs-cli version 1.5.0 (0bfcecd)
Which version of Go are you using? (Run:
go version
)Not using go.
What platform are you using to run ECS CLI commands?
MacOS
Config files
Expected Behavior
Seems like this was fixed in #201 but not sure what is happening here.
Observed Behavior
The text was updated successfully, but these errors were encountered: