Skip to content

Warning on Ubuntu: Docker version is not supported: Got 24.0 – (edited, hint: currently only tested with 26.0) #50

@acsr

Description

@acsr

PreRerequisites

I tried starting a new Plone6 Project on a fresh Ubuntu LTS 24.04 Server Instance with dependencies already installed following the instructions at https://6.docs.plone.org/install/create-project-cookieplone.html

Result of pipx run cookieplone --version:

Cookieplone 0.7.1 from /home/astro/.cache/pipx/80aa0c0b5fc1b26/lib/python3.12/site-packages/cookieplone (Cookiecutter 
2.6.0, Python 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0])

Made with ❤️ by the Plone Community

Issue

I get a Docker Version warning:

Sanity check results:
- Python: ✓
- Node: ✓
- git: ✓
- Docker (optional): Docker version is not supported: Got 24.0

Question

Why is this warning generated, and where does the not supported setting comes from?

Why? Looking at the code no idea why…

In the cookieplone code there is only one place found by me where the Docker version is mentioned:

MIN_DOCKER_VERSION = "20.10"

MIN_DOCKER_VERSION = "20.10"

My Versions

I use this script to list the requirement installed versions:

echo "List currently locally installed versions of Plone CI fullstack tools"
echo "-----------------------"
echo "python3.12 version: "`python3.12 --version`
echo "pipx version: " `pipx --version`
echo "nvm version: " `nvm -v`
echo "npm version: " `npm -v`
echo "node version: " `node -v`
echo "make version: " `make -v`
echo "gmake version: " `gmake -v`
echo "git version: " `git -v`
echo "Docker version: " `docker --version`
echo "-----------------------"
echo `date` Done!

result:

List currently locally installed versions of Plone CI fullstack tools
-----------------------
python3.12 version: Python 3.12.3
pipx version:  1.4.3
nvm version:  0.39.5
npm version:  10.8.2
node version:  v20.18.0
make version:  GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
gmake version:  GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
git version:  git version 2.43.0
Docker version:  Docker version 24.0.5, build ced0996
-----------------------
Mi 13. Nov 14:06:04 UTC 2024 Done!

one more thing related to version pinning (maybe need another ticket as well later):

I also got: Node version is not supported: Got v22.11.0 after just using nvm install --lts as described at https://6.docs.plone.org/install/create-project-cookieplone.html#node-js

even when version 22 is allowed and listed in cookieplone/settings.py

I could fix it there with: nvm install --lts=iron ending up with node version: v20.18.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions