From 860bc8bd6890616aa47519edd21dc37130b68833 Mon Sep 17 00:00:00 2001 From: tdeerenberg <113618658+tdeerenberg@users.noreply.github.com> Date: Sun, 16 Apr 2023 19:42:07 +0200 Subject: [PATCH] Docker installation from source updated --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 8e2d480..2b42009 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,18 @@ cd Musort pip install requirements.txt ``` After that, run the program with `python3 musort.py`. + +### Docker installation +#### From source +``` Bash +git clone https://github.com/tdeerenberg/Musort.git +cd Musort +docker build -t musort . +``` + After the docker installation is complete, musort can be run with: `docker run --name musort --rm -v "/:/HostMountedFS" -it musort` + +> Tip: You could alias something like `alias musortd="docker run --name musort --rm -v "/:/HostMountedFS" -it musort"` then use `musortd` juse like `musort` usage is explained above + ## Manual (options and arguments) `musort --help` ``` USAGE: @@ -83,16 +95,6 @@ track_total total number of tracks as string year year or date as string ``` -## Docker - -``` -docker build -t musort . -docker run --name musort --rm -it musort --help -``` - -> Tip: You can alias something like `alias musortd="docker run --name musort --rm -it musort"` then use `musortd` juse like `musort` usage is explained above - - ## Possible features to add * Rename single file * Other installation methods (Like AUR, Docker, etc.)