2 Commits
Author SHA1 Message Date
Thai PangsakulyanontandGitHub 34f32d09d7 Add docker-compose example 2021-01-13 22:57:26 +07:00
Thai PangsakulyanontandGitHub 8123a21f3e Clean up /tmp in container-init
I ran into a problem where the container does not start after 10 startups.

The reason for this is `/tmp/.X10-lock` file are not deleted when running `docker stop`.
On next `docker-start`, `/tmp/.X11-lock` is allocated instead.
This keeps going until `/tmp/.X19-lock` and from that it gives up.

Another workaround is to use `--tmpfs` in `docker run`.
But not all users always use it.
2020-10-14 01:35:09 +07:00