From 9db402633dd5ad6c9143dd813f1cdbf68546ce06 Mon Sep 17 00:00:00 2001 From: Tom Sparrow <793763+sparrowt@users.noreply.github.com> Date: Mon, 24 Feb 2025 16:47:42 +0000 Subject: [PATCH] Fix example docker run command in readme Upstream URL needs a schema. Also port needs to be exposed on host otherwise it is inaccessible. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 03ab7c7..b3268d8 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ lfs-cache is a caching proxy for [Git LFS](https://git-lfs.github.com/) servers. #### Docker ``` -$ docker run --name lfscache --rm -d -v /my/cache/dir/lfs:/lfs saracen/lfscache:latest --url github.com/org/repo.git/info/lfs --http-addr :80 --directory /lfs +$ docker run --name lfscache --rm -d -v /my/cache/dir/lfs:/lfs -p 80:80 saracen/lfscache:latest --url https://github.com/org/repo.git/info/lfs --http-addr :80 --directory /lfs ``` #### Binary