Skip to content

Instantly share code, notes, and snippets.

@pouwerkerk
Last active August 1, 2016 01:23
Show Gist options
  • Save pouwerkerk/e5030558352d1dd8d5bd59c1bf740a30 to your computer and use it in GitHub Desktop.
Save pouwerkerk/e5030558352d1dd8d5bd59c1bf740a30 to your computer and use it in GitHub Desktop.

1 CPU

Docker info

$ docker info
Containers: 69
 Running: 0
 Paused: 0
 Stopped: 69
Images: 51
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 194
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.16-boot2docker
Operating System: Boot2Docker 1.12.0 (TCL 7.2); HEAD : e030bab - Fri Jul 29 00:29:14 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.955 GiB
Name: default
ID: MHF3:CZLJ:OI5J:BJRE:FTHG:QR4V:MI6J:4AA6:HZLI:K2KB:YISS:XLQK
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 14
 Goroutines: 23
 System Time: 2016-08-01T01:09:55.302642424Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
 provider=virtualbox
Insecure Registries:
 127.0.0.0/8

Docker run time

$ time docker run mhart/alpine-node:latest node
real    0m 0.25s
user    0m 0.00s
sys     0m 0.00s
$ time docker run mhart/alpine-node:latest node
real    0m 0.22s
user    0m 0.00s
sys     0m 0.00s
$ time docker run mhart/alpine-node:latest node
real    0m 0.22s
user    0m 0.00s
sys     0m 0.00s

2 CPUs

Docker info

$ docker info
Containers: 69
 Running: 0
 Paused: 0
 Stopped: 69
Images: 51
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 194
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.16-boot2docker
Operating System: Boot2Docker 1.12.0 (TCL 7.2); HEAD : e030bab - Fri Jul 29 00:29:14 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.955 GiB
Name: default
ID: MHF3:CZLJ:OI5J:BJRE:FTHG:QR4V:MI6J:4AA6:HZLI:K2KB:YISS:XLQK
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 14
 Goroutines: 23
 System Time: 2016-08-01T01:12:00.818471636Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
 provider=virtualbox
Insecure Registries:
 127.0.0.0/8

Docker run time

$ time docker run mhart/alpine-node:latest node
real    0m 0.78s
user    0m 0.01s
sys     0m 0.00s
$ time docker run mhart/alpine-node:latest node
real    0m 0.63s
user    0m 0.00s
sys     0m 0.01s
$ time docker run mhart/alpine-node:latest node
real    0m 0.67s
user    0m 0.00s
sys     0m 0.01s

3 CPUs

Docker info

$ docker info
Containers: 69
 Running: 0
 Paused: 0
 Stopped: 69
Images: 51
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 194
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: overlay null host bridge
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.16-boot2docker
Operating System: Boot2Docker 1.12.0 (TCL 7.2); HEAD : e030bab - Fri Jul 29 00:29:14 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 3
Total Memory: 1.955 GiB
Name: default
ID: MHF3:CZLJ:OI5J:BJRE:FTHG:QR4V:MI6J:4AA6:HZLI:K2KB:YISS:XLQK
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 14
 Goroutines: 23
 System Time: 2016-08-01T01:14:02.954218304Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
 provider=virtualbox
Insecure Registries:
 127.0.0.0/8

Docker run time

$ time docker run mhart/alpine-node:latest node
real    0m 0.67s
user    0m 0.00s
sys     0m 0.01s
$ time docker run mhart/alpine-node:latest node
real    0m 0.73s
user    0m 0.01s
sys     0m 0.00s
$ time docker run mhart/alpine-node:latest node
real    0m 0.65s
user    0m 0.01s
sys     0m 0.00s

4 CPUs

Docker info

$ docker info
Containers: 69
 Running: 0
 Paused: 0
 Stopped: 69
Images: 51
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 194
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host null overlay bridge
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.16-boot2docker
Operating System: Boot2Docker 1.12.0 (TCL 7.2); HEAD : e030bab - Fri Jul 29 00:29:14 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.955 GiB
Name: default
ID: MHF3:CZLJ:OI5J:BJRE:FTHG:QR4V:MI6J:4AA6:HZLI:K2KB:YISS:XLQK
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 14
 Goroutines: 23
 System Time: 2016-08-01T01:16:31.119681654Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
 provider=virtualbox
Insecure Registries:
 127.0.0.0/8

Docker run time

$ time docker run mhart/alpine-node:latest node
real    0m 0.71s
user    0m 0.00s
sys     0m 0.01s
$ time docker run mhart/alpine-node:latest node
real    0m 0.75s
user    0m 0.01s
sys     0m 0.00s
$ time docker run mhart/alpine-node:latest node
real    0m 0.73s
user    0m 0.01s
sys     0m 0.00s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment