mirror of
https://github.com/distribution/distribution.git
synced 2025-04-27 19:15:28 +00:00
More renames
Renamed some additional files that were missed in the first commit. Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
This commit is contained in:
parent
31c0221600
commit
26b983c753
10
BUILDING.md
10
BUILDING.md
@ -102,13 +102,13 @@ the environment variable `BUILDTAGS`.
|
||||
<dd>Compiles without resumable digest support</dd>
|
||||
</dl>
|
||||
|
||||
### Local cloud storage environment
|
||||
### Local S3 store environment
|
||||
|
||||
You can run an S3 API compatible storage locally with [minio](https://min.io/).
|
||||
You can run an S3 API compatible store locally with [minio](https://min.io/).
|
||||
|
||||
You must have a [docker compose](https://docs.docker.com/compose/) compatible tool installed on your workstation.
|
||||
|
||||
Start the local cloud environment:
|
||||
Start the local S3 store environment:
|
||||
```
|
||||
make start-s3-storage
|
||||
```
|
||||
@ -121,9 +121,9 @@ AWS_ACCESS_KEY=distribution \
|
||||
S3_ENCRYPT=false \
|
||||
REGION_ENDPOINT=http://127.0.0.1:9000 \
|
||||
S3_SECURE=false \
|
||||
./bin/registry serve tests/conf-local-cloud.yml
|
||||
./bin/registry serve tests/conf-local-s3.yml
|
||||
```
|
||||
Stop the local storage when done:
|
||||
Stop the local S3 store when done:
|
||||
```
|
||||
make stop-s3-storage
|
||||
```
|
||||
|
2
Makefile
2
Makefile
@ -134,7 +134,7 @@ stop-s3-storage: ## stop local s3 storage (minio)
|
||||
$(COMPOSE) -f tests/docker-compose-storage.yml down
|
||||
|
||||
.PHONY: reset-s3-storage
|
||||
reset-s3-storage: ## reset (stop, delete, start) local cloud storage (minio)
|
||||
reset-s3-storage: ## reset (stop, delete, start) local s3 storage (minio)
|
||||
$(COMPOSE) -f tests/docker-compose-storage.yml down
|
||||
@mkdir -p tests/miniodata/distribution
|
||||
@rm -rf tests/miniodata/distribution/* tests/miniodata/.minio.sys
|
||||
|
Loading…
Reference in New Issue
Block a user