From 43a64480ef634d75a70a29048facaa181bb27f19 Mon Sep 17 00:00:00 2001 From: Mahmoud Kandil <47168819+MahmoudKKandil@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:53:43 +0300 Subject: [PATCH] Update dockerhub.md Signed-off-by: Mahmoud Kandil <47168819+MahmoudKKandil@users.noreply.github.com> --- docs/dockerhub.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dockerhub.md b/docs/dockerhub.md index 0b4d5bb72..69c10495c 100644 --- a/docs/dockerhub.md +++ b/docs/dockerhub.md @@ -36,7 +36,7 @@ and the above example command does not mount a local filesystem volume into the If you wish to mount the local filesystem to the `rootdirectory` of the `filesystem` storage driver run the following command: ``` -docker run -d -p 5000:5000 $PWD/FS/PATH:/var/lib/registry --restart always --name registry distribution/distribution:edge +docker run -d -p 5000:5000 -v $PWD/FS/PATH:/var/lib/registry --restart always --name registry distribution/distribution:edge ``` ### Custom configuration @@ -44,7 +44,7 @@ docker run -d -p 5000:5000 $PWD/FS/PATH:/var/lib/registry --restart always --nam If you don't wan to use the default configuration file, you can supply your own custom configuration file as follows: ``` -docker run -d -p 5000:5000 $PWD/PATH/TO/config.yml:/etc/distribution/config.yml --restart always --name registry distribution/distribution:edge +docker run -d -p 5000:5000 -v $PWD/PATH/TO/config.yml:/etc/distribution/config.yml --restart always --name registry distribution/distribution:edge ``` ## Communication