okteto
okteto copied to clipboard
Fail with a clearer error when docker compose doesn't have dev section
Describe the bug If I run okteto up on a repo with a docker compose and the inferred okteto manifest (docker-compose is transformed into a okteto manifest) doesn't have any dev section (only services with local volumes are transformed into devs) we fail with an unclear error
To Reproduce Steps to reproduce the behavior:
- Copy the following docker-compose
services:
web:
image: alpine
ports:
- 8080
- Run
okteto deploy - Run
okteto up web - See warning indicating that there isn't any dev configured
- Type
nwhen asked if you want to configure - See error indicating that no manifest has no dev section
Expected behavior
A clear and concise error on why I can't run okteto up from my docker-compose file
Desktop (please complete the following information):
- Version 2.4.1
Additional context
