forked from TrueCloudLab/distribution
Update dockerhub.md
Signed-off-by: Mahmoud Kandil <47168819+MahmoudKKandil@users.noreply.github.com>
This commit is contained in:
parent
5f804a9df7
commit
43a64480ef
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue