Tested docker save and docker load, for writing/reading Docker image to/from disk.
I didn't test on USB stick, only on internal SSD on my host machine.
Took 5 minutes to output to gzip on disk (only maintainers need to do this), 1 minute to load gzip back to Docker (users need to do this).
For reference, the read speed of SanDisk 32GB Ultra USB 3.0 Flash Drive USB is 100 MB/s.
My SSD's write speed is 727 MB/s, read speed is 8.3 GB/s :sweat_smile:
$ sudo /sbin/sysctl -w vm.drop_caches=3
$ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.47615 s, 727 MB/s
$ dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.129964 s, 8.3 GB/s
Tested
docker save
anddocker load
, for writing/reading Docker image to/from disk.I didn't test on USB stick, only on internal SSD on my host machine. Took 5 minutes to output to gzip on disk (only maintainers need to do this), 1 minute to load gzip back to Docker (users need to do this).
For reference, the read speed of SanDisk 32GB Ultra USB 3.0 Flash Drive USB is 100 MB/s. My SSD's write speed is 727 MB/s, read speed is 8.3 GB/s :sweat_smile:
Commands from here
Soooooooooo we should test on those USBs to get a better estimate.