Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

docker-compose v3.9 not supported #6334

Closed
danielvandenberg95 opened this issue Dec 29, 2021 · 5 comments
Closed

docker-compose v3.9 not supported #6334

danielvandenberg95 opened this issue Dec 29, 2021 · 5 comments
Labels
area/docker kind/enhancement Applied to Feature Requests

Comments

@danielvandenberg95
Copy link

Bug description
Can't make stacks with docker-compose version 3.9 (engine 20.10.0) through portainer, can through command line.

Expected behavior
Expected portainer to work the same as underlying system

Portainer Logs
image

level=info msg="2021/12/29 15:17:00 http error: unsupported Compose file version: 3.9"
level=info msg=" (err=unsupported Compose file version: 3.9"
level=info msg=") (code=500)"

Steps to reproduce the issue:

Ensure docker version 20.10 or higher is running.
Create stack through portainer with:

version: '3.9'
services:
  openvpn:
    cap_add:
     - NET_ADMIN
    image: elswork/openvpn
    ports:
     - "1194:1194/udp"
    restart: always
    volumes:
     - /mnt/gv0/openvpn-data/:/etc/openvpn

get error
create same with docker stack deploy openvpn -c docker-compose.yml
works

Technical details:

  • Portainer version: 2.11.0
  • Docker version (managed by Portainer): 20.10.10
  • Kubernetes version (managed by Portainer): -
  • Platform (windows/linux): linux
  • Command used to start Portainer (docker run -p 9443:9443 portainer/portainer): stack deploy
  • Browser: Brave
  • Use Case (delete as appropriate): Using Portainer at Home.
  • Have you reviewed our technical documentation and knowledge base? Yes
@huib-portainer
Copy link
Contributor

We'd have to update the docker version we bundle in the Portainer image: #5779 (comment)

@ShuiPingZhiLian
Copy link

We'd have to update the docker version we bundle in the Portainer image: #5779 (comment)

May I ask when the new docker will be ready since I am also waiting for this new feature.

@allFunAndGames
Copy link

docker-compose version 3.9 has been the pinned default schema since 1.27.1, released on 2020-09-10. Is there a plan to incorporate this updated schema in the portainer image, a timeline?

thansk & BR

@huib-portainer
Copy link
Contributor

You can give it a try by using the image portainerci/portainer:pr6994.
Note that this is a development build and should not be used in a production environment.

@allFunAndGames
Copy link

great, thanks a million, I'll give it a go

@portainer portainer locked and limited conversation to collaborators Jul 27, 2023
@jamescarppe jamescarppe converted this issue into discussion #9787 Jul 27, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
area/docker kind/enhancement Applied to Feature Requests
Projects
None yet
Development

No branches or pull requests

4 participants