szabodanika / microbin

A secure, configurable file-sharing and URL shortening web app written in Rust.
https://microbin.eu
BSD 3-Clause "New" or "Revised" License
2.65k stars 163 forks source link

Command Line Argument -V, --version not working in Docker #56

Closed Panja0 closed 1 year ago

Panja0 commented 1 year ago

When using the following CLI argument -V or --version in docker the container won't (re)start. It keeps starting and than stops.

Other arguments like --hide-footer and --private do work.

szabodanika commented 1 year ago

The version argument simply prints the version of microbin (e.g. v1.1.1) and exits, so I would say this is expected behaviour in Docker. What were you attempting to use it for?

Panja0 commented 1 year ago

Ahhh ok! Did not understood correctly than. I though it would add a version mark somewhere on the site.

szabodanika commented 1 year ago

No worries. I will consider rewording the description in the documentation about this.