docker version: 17.03.1-ce
Trying to get the docker-compose.yml working from the getting started tutorials.
version: "3"
services:
web:
image: tuhina/friendlyhello:2.0
deploy:
replicas: 5
resources:
limits:
cpus: "0.1"
memory: 50M
restart_policy:
condition: on-failure
ports:
- "80:80"
networks:
- webnet
networks:
webnet:
Getting this error:
replicas Additional property replicas is not allowed
What have I typed in wrong?
Thanks.
edit: docker-compose version 1.11.2, build dfed245