convert the 2.1 version docker-compose.yaml error!!!!! #1235
Closed
Description
when convert :
kompose convert -f docker-compose.yaml, it is error:
FATA Version 2.1 of Docker Compose is not supported. Please use version 1, 2 or 3 . The follow is my yaml file:
version: '2.1'
services:
registry:
environment:
CONFIG_SERVICE_PASSWORD: $CONFIG_SERVICE_PASSWORD
image: 172.46.5.78:332/library/sqshq/piggymetrics-registry
restart: always
depends_on:
config:
condition: service_healthy
ports:
- 8761:8761
logging:
options:
max-size: "10m"
max-file: "10"
thanks for your answer.