-
Notifications
You must be signed in to change notification settings - Fork 752
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
Kompose doesn't work with docker-compose v3.7 #1152
Comments
Yes. Thanks for create this issue, i will create a PR to add this. |
Hello, saw your issue today, I was just wondering if the 3.7 version is not supported, is the 3.6 version supported? |
wired. I have check the source code and both 3.6 and 3.7 is supported, can you try the master build? |
What version of kompose do you have? |
Same issue. "Version 3.7 of Docker Compose is not supported. Please use version 1, 2 or 3" |
Get the same thing with 1.17.0 ./kompose version
1.17.0 (a74acad)
./kompose convert
FATA Version 3.7 of Docker Compose is not supported. Please use version 1, 2 or 3 If I change the version in the docker-compose.yml file to '3' instead of '3.7' everything works fine, so it's "supported" but doesn't want to be validated LOL Installed Kompose using the directions from the kompose.io page: # Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.17.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.17.0/kompose-darwin-amd64 -o kompose
chmod +x kompose
sudo mv ./kompose /usr/local/bin/kompose Tried with 1.18.0 as well, same thing: ./kompose version
1.18.0 (06a2e56)
./kompose convert
FATA Version 3.7 of Docker Compose is not supported. Please use version 1, 2 or 3 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
bump? I'm able to
The image key is populated already from the My
and the
|
@yjkimjunior #969 has a partial solution TLDR: Add image key to your prisma service |
@alechp thanks! I decided to just write my kubernetes config files manually for current project but hopefully will revisit kompose in the near future. |
@hangyan The kompose conver command failed to execute. The output is similar to the following
Official documentation says restrictions support |
I have kompose version 1.21.0 (992df58) on win 10 pro and i still receive: ?[31mFATA?[0m Version 3.8 of Docker Compose is not supported. Please use version 1, 2 or 3 If i change the version to 3 i get: ?[31mFATA?[0m services.php.build Additional property target is not allowed Any updates on this? |
@lebadapetru minor version of |
@hangyan Issue seems to be still ongoing with the latest release tag
With version: "3.8"
services:
... Do you plan a new release with the adoption with granular versions like Any workaround is also welcome |
Hi @hangyan , I just tried the Kompose master build v1.22.0 and I can confirm that it is working for Docker-Compose v3.8. @kachar, it should work for you now, unless you have some healthcheck or other deprecated specifics in depends_on, please see: Cheers, |
I'm still having this issue with the latest Kompose Linux release version v1.22.0 (955b781). If I try to
|
@rodney-b I think it's may be in the master build, you can try it or wait for the next release |
I had "3.9" just changed to "3" and convert worked. Not sure the implication, but seems to have worked. |
Getting it on 3.9 with version 1.24.0 |
UPDATES in 2022: It doesn't work for me with 3.9, but it works fine with 3.6 and 3.7. |
I have version 1.27.0 (b0ed6a2). It doesn't work with 3.9 |
Tags property is not supported in
|
Honestly we need to update Kompose to take any file that's above version 3. Especially because the Compose spec has removed the version key. We'll push a new PR soon! |
kompose convert worked for me after changing the version of my docker-compose.yml file to "3". Once I did that kompose convert worked with no issue. |
When I try to convert a docker-compose file v3.7 to the various files required by kubernetes using Kompose v1.18.0 , I get the message: Version 3.7 of Docker Compose is not supported. Please use version 1, 2 or 3. Isn't it time yet to update the supported versions?
The text was updated successfully, but these errors were encountered: