GithubHelp home page GithubHelp logo

Comments (6)

rhatdan avatar rhatdan commented on August 15, 2024

Interested in opening a PR?

from crun.

giuseppe avatar giuseppe commented on August 15, 2024

I've changed the way the version is generated to also include a part of the git commit if there is no tag for the current commit.

Could you please check if it works for you?

$ /usr/bin/crun --version
crun version 0.10.6

$ ./crun --version
crun version 0.10.6.1-1b15

from crun.

AkihiroSuda avatar AkihiroSuda commented on August 15, 2024

thanks, but I prefer runc-compatible output: https://github.com/opencontainers/runc/blob/b9b6cc6e47fe4f2aa4f744a1fc62d248c182d28d/main.go#L62

from crun.

carlosedp avatar carlosedp commented on August 15, 2024

Folks, my PR (moby/moby#39940) has been merged and latest Docker built from master shows correct versions and doesn't print the "unable to parse" messages into the logs:

❯ docker version
Client:
 Version:           unknown-version
 API version:       1.40
 Go version:        devel +c20db960e2 33 hours ago
 Git commit:        7fcd2252
 Built:             Tue Sep 10 15:00:43 2019
 OS/Arch:           linux/riscv64
 Experimental:      true

Server:
 Engine:
  Version:          dev
  API version:      1.41 (minimum version 1.12)
  Go version:       devel +1c193b20a6 3 weeks ago
  Git commit:       a4a0429eec-unsupported
  Built:            Tue Nov 26 13:10:04 2019
  OS/Arch:          linux/riscv64
  Experimental:     false
 containerd:
  Version:          1.2.0+unknown
  GitCommit:
 crun:
  Version:          0.10.3.55-f6af
  GitCommit:
 docker-init:
  Version:          0.18.0
  GitCommit:        3c53686


❯ containerd --version
containerd github.com/containerd/containerd 1.2.0+unknown


❯ crun --version
crun version 0.10.3.55-f6af
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL


❯ docker-init --version
tini version 0.18.0 - git.3c53686

from crun.

AkihiroSuda avatar AkihiroSuda commented on August 15, 2024

GitCommit is still unfilled

from crun.

carlosedp avatar carlosedp commented on August 15, 2024

I've opened PR #192 for this.

from crun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.