forked from TrueCloudLab/distribution
Update dockerhub.md (#4394)
This commit is contained in:
commit
2b036a9fc1
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
|
If you wish to mount the local filesystem to the `rootdirectory` of the
|
||||||
`filesystem` storage driver run the following command:
|
`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
|
### 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
|
If you don't wan to use the default configuration file, you can supply
|
||||||
your own custom configuration file as follows:
|
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
|
## Communication
|
||||||
|
|
Loading…
Reference in a new issue