-
Notifications
You must be signed in to change notification settings - Fork 27
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
Why is this version so old? #155
Comments
I can't give the any eta, but there is an open PR for a branch that updates to version 24, #152 , when that is merged it will partially solve this issue. It still has to be promoted to stable, and I don't know if there will be any channel changes to support the significant version bump. |
Hi, |
CC @lucaskanashiro and @xnox for visibility, and in case they can provide any further info. |
BTW - @wordjelly , if the Golang issue you're referring to is related to this, then a fix for that was already backported. It should be in the snap channel |
@jocado sorry, that throws the same error, I'm giving latest/edge a try. Will update on progress soon. |
It works with latest/edge. For anyone hitting 'invalid host header' do this :
|
Strange, perhaps I had the incorrect revision info. Glad that works for you at least, and thanks for confirming 👍 |
@wordjelly could you please share any error log from your attempts of using docker compose? How did you install docker compose? Are you using the command provided by the snap? I'd like to understand a bit better what is happening here. And version 24.x should be pushed to the edge channel as soon as we promote the current beta to candidate and then stable. There is some internal testing going on right now. |
@lucaskanashiro , thank you for the update, I've tried to include a reproducible setup for this problem below:
Create a dummy project with a docker-compose.yml that MUST Reference a Dockerfile in the build step.
Contents of docker-compose.yml
Contents of Dockerfile
Then run
The build will fail with "http: invalid host header". Kindly note that, this issue seems to have cropped up for a lot of people in the last 48 hours. I have no clue how docker works, but it seems, it internally updated its golang version yesterday. I had a perfectly working setup with the same snap, just 72 hours ago. |
@lucaskanashiro if it helps, I have the same issue and checked this PR/repository after reading up on this issue in another issue, it seems there are fixes in later versions that are missing for compose to function with golang > 1.20: |
As the current version of the snap in |
I don't think so. Although the original ticket was opened to point out the lack of Docker 24.x, the original question of 'Why is this version so old?' is still relevant today. Based on the upstream support matrix for Docker Engine (aka Moby), there is no upstream support for Docker 24.x anymore. I'm not 100% sure where the specific date has been sourced, but endoflife.date lists 24.x as unsupported as of June 2024. Is there a particular reason why the stable branch for the Snap is so far behind? |
Docker in snap is version 20. The latest Docker official is version 24. Why is this app so old in snap? I thought snaps were supposed to be kept up to date with the latest stable version of all apps
The text was updated successfully, but these errors were encountered: