Added --rm to the docker run example. For people unfamiliar with Docker, if they start and stop the container multiple times, each container instance will be saved and take up extra disk space. It's good practice to use --rm unless you are specifically starting and stopping the same container for a good reason.
Removed VOLUME statement from Dockerfile - from my understanding this statement is unneeded and doesn't functionally serve a purpose. Additionally, if you stop the container, the volume will stay on your disk, and take up around 2 GB on the disk per container stopped since it contains the Risk of Rain binary.
Added
--rm
to the docker run example. For people unfamiliar with Docker, if they start and stop the container multiple times, each container instance will be saved and take up extra disk space. It's good practice to use--rm
unless you are specifically starting and stopping the same container for a good reason.Removed
VOLUME
statement fromDockerfile
- from my understanding this statement is unneeded and doesn't functionally serve a purpose. Additionally, if you stop the container, the volume will stay on your disk, and take up around 2 GB on the disk per container stopped since it contains the Risk of Rain binary.