1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 12:12:34 +01:00

add instructions for pulling dockerhub & ghcr images

This commit is contained in:
Mike Fährmann 2023-12-19 01:53:17 +01:00
parent d949582934
commit 2a36937e45
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -142,9 +142,23 @@ Using the Dockerfile in the repository:
cd gallery-dl/
docker build -t gallery-dl:latest .
Pulling image from `Docker Hub <https://hub.docker.com/r/mikf123/gallery-dl>`__:
.. code:: bash
docker pull mikf123/gallery-dl
docker tag mikf123/gallery-dl gallery-dl
Pulling image from `GitHub Container Registry <https://github.com/mikf/gallery-dl/pkgs/container/gallery-dl>`__:
.. code:: bash
docker pull ghcr.io/mikf/gallery-dl
docker tag ghcr.io/mikf/gallery-dl gallery-dl
To run the container you will probably want to attach some directories on the host so that the config file and downloads can persist across runs.
Make sure to either download the example config file reference in the repo and place it in the mounted volume location or touch an empty file there.
Make sure to either download the example config file reference in the repo and place it in the mounted volume location or touch an empty file there.
If you gave the container a different tag or are using podman then make sure you adjust. Run ``docker image ls`` to check the name if you are not sure.