skip to Main Content

I am trying to upgrade docker-engine to 23.0.0 as a part of buildroot installation. I have upgraded all the prerequisite packages i.e golang, containerd, docker-cli, runc, etc to the required higher version.
But when I execute the ‘docker version’ command it shows in the Server section Version: library-import. For other packages i.e golang, containerd, runc correct version is displayed
For the earlier version of docker-engine it shows the correct version i.e. 19.
Can anyone help me on why it is not showing the correct version for 23.0.0 and instead "library-import" is displayed?

2

Answers


  1. You can see similar "error" in the version in this issue, or this one.

    This is generally linked to the Docker installation or upgrade process, due to an incomplete or incorrect installation. You are using a packager (buildroot), so this is not your issue.

    Since you are upgrading Docker as part of a buildroot setting, then I see a a patch ("fix btrfs handling") which might have an impact depending on your configuration.
    Plus, docker-engine now requires libseccomp by default: makes sure that is part of your dependencies.

    As noted by Arnout in the comments

    To me this sounds like an issue in docker-engine itself, so perhaps open a ticket in the upstream tracker?
    You can also try to do a native build (using your OS’s Go instead of the one from Buildroot). And you can try to do a build of an upstream checkout using Buildroot’s Go.

    Login or Signup to reply.
  2. There’s a mismatch or an issue in how Docker was installed or built into your Buildroot installation.

    Maybe try checking the installation method or checking configuration and rebuilding.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search