Skip to content

Instantly share code, notes, and snippets.

View opusmagnum's full-sized avatar

Alexander Dobriakov opusmagnum

View GitHub Profile

Keybase proof

I hereby claim:

  • I am opusmagnum on github.
  • I am adobriakov (https://keybase.io/adobriakov) on keybase.
  • I have a public key ASCha4NGrlOaNC4kKb6sku7pps4Xq6jDgUeQiWHfVx9MVAo

To claim this, I am signing this object:

@opusmagnum
opusmagnum / VM session.sh
Last active June 10, 2016 18:55
Anatomy of the Docker for Mac virtual disk
# Show some info about the virtual disk
mymac> qemu-img check ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2  ✓  10118
No errors were found on the image.
54968/1048576 = 5.24% allocated, 0.95% fragmented, 0.00% compressed clusters
Image end offset: 3606183936
mymac> qemu-img info ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2  ✓  10138
image: ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2
file format: qcow2
virtual size: 64G (68719476736 bytes)
disk size: 3.4G