avivace / ror2-server

Host your own Risk of Rain 2 dedicated server. No technical skills required. Runs everywhere.
https://hub.docker.com/r/avivace/ror2server
GNU General Public License v3.0
169 stars 29 forks source link

Some added clean up for running the container #51

Closed samikool closed 1 year ago

samikool commented 1 year ago

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.