diff --git a/Install.md b/Install.md index 7c5ea0b..525ba93 100644 --- a/Install.md +++ b/Install.md @@ -1,12 +1,5 @@ ## Docker -Currently not available on dockerhub but hopefully that will change soon. -``` -hrfee@lab:~$ mkdir jellyfin-accounts -hrfee@lab:~$ cd jellyfin-accounts -hrfee@lab:~/jellyfin-accounts# wget https://raw.githubusercontent.com/hrfee/jellyfin-accounts/master/Dockerfile -hrfee@lab:~/jellyfin-accounts# sudo docker build -t jellyfin-accounts . -``` -Then, to create a container, +Available on [docker hub](https://hub.docker.com/r/hrfee/jellyfin-accounts). ``` hrfee@lab:~/jellyfin-accounts# sudo docker create \ --name "jf-accounts" \ # Whatever you want to name it @@ -14,7 +7,15 @@ hrfee@lab:~/jellyfin-accounts# sudo docker create \ -v /path/to/.jf-accounts:/data \ # Equivalent of ~/.jf-accounts -v /path/to/jellyfin:/jf \ # Path to jellyfin config directory -v /etc/localtime:/etc/localtime:ro \ # Makes sure time is correct - jellyfin-accounts + hrfee/jellyfin-accounts +``` +To build from Dockerfile instead, + +``` +hrfee@lab:~$ mkdir jellyfin-accounts +hrfee@lab:~$ cd jellyfin-accounts +hrfee@lab:~/jellyfin-accounts# wget https://raw.githubusercontent.com/hrfee/jellyfin-accounts/master/Dockerfile +hrfee@lab:~/jellyfin-accounts# sudo docker build -t jellyfin-accounts . ``` ## Debian