benchmark: docker run, nerdctl run, podman run
              
              #761
            
            
                  
                    
                      AkihiroSuda
                    
                  
                
                  started this conversation in
                Show and tell
              
            Replies: 1 comment
-
| $ hyperfine --runs 20 'sudo nerdctl run --rm alpine true'
Benchmark 1: sudo nerdctl run --rm alpine true
  Time (mean ± σ):     338.8 ms ±  33.4 ms    [User: 2.0 ms, System: 2.7 ms]
  Range (min … max):   304.8 ms … 458.2 ms    20 runs
$ hyperfine --runs 20 'sudo docker run --rm alpine true'
Benchmark 1: sudo docker run --rm alpine true
  Time (mean ± σ):     482.6 ms ±  28.1 ms    [User: 1.4 ms, System: 3.4 ms]
  Range (min … max):   429.5 ms … 539.1 ms    20 runsVersion: 
 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Not an issue, just sharing rough benchmark result.
TL; DR:
nerdctl runis slower thandocker runby about 60ms on average. Negligible in most cases.Rootful
Docker > nerdctl > Podman
Rootless
Podman > Docker > nerdctl
Not sure why rootless Podman is much faster than rootful Podman, though.
Version:
Beta Was this translation helpful? Give feedback.
All reactions