Skip to main content

All Questions

Tagged with
1 vote
0 answers
153 views

Build Docker image on tmpfs

I have a Dockerfile that change file permissions to various folders, one of that is a node_modules RUN chown -R 0:0 . ...
Skhaz's user avatar
  • 111
0 votes
1 answer
292 views

Syncing Docker tmpfs to Disk?

I have a couple of Docker containers that constantly write to logs. This causes continuous disk I/O, particularly writes. Is there a way to make Docker read/write to a ramdisk, which could ...
Teknophilia's user avatar
1 vote
1 answer
1k views

Docker system directories in tmpfs?

Does it make sense to mount any of Docker directories under /var/lib/docker as tmpfs to speed things up and reduce SSD wear? ~ # l /var/lib/docker/ total 56 drwx------ 2 root root 4096 Jul 28 02:02 ...
Daniel W.'s user avatar
  • 1,992
10 votes
3 answers
3k views

Should I expect programs that run from a tmpfs folder to run faster? (with and without I/O, inside and outside a Docker container)

On Linux, suppose I have an executable file. Let's look at two cases: (A) A large portion of what the executable does is disk I/O; (B) the executable doesn't do any disk I/O. For each of the cases A ...
Lior's user avatar
  • 211