mirror of
https://github.com/distribution/distribution.git
synced 2025-06-30 09:12:47 +00:00
Remove deprecated version field (#4459)
This commit is contained in:
commit
2314320a70
@ -512,7 +512,7 @@ Start your registry by issuing the following command in the directory containing
|
|||||||
the `docker-compose.yml` file:
|
the `docker-compose.yml` file:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker-compose up -d
|
$ docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Considerations for air-gapped registries
|
## Considerations for air-gapped registries
|
||||||
|
@ -192,7 +192,7 @@ EOF
|
|||||||
Now, start your stack:
|
Now, start your stack:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker-compose up -d
|
$ docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
Log in with a "push" authorized user (using `testuserpush` and `testpasswordpush`), then tag and push your first image:
|
Log in with a "push" authorized user (using `testuserpush` and `testpasswordpush`), then tag and push your first image:
|
||||||
|
@ -166,8 +166,6 @@ Review the [requirements](../#requirements), then follow these steps.
|
|||||||
5. Create the compose file. Paste the following YAML into a new file called `docker-compose.yml`.
|
5. Create the compose file. Paste the following YAML into a new file called `docker-compose.yml`.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
# Note : Only nginx:alpine supports bcrypt.
|
# Note : Only nginx:alpine supports bcrypt.
|
||||||
@ -193,7 +191,7 @@ Review the [requirements](../#requirements), then follow these steps.
|
|||||||
Now, start your stack:
|
Now, start your stack:
|
||||||
|
|
||||||
```consonle
|
```consonle
|
||||||
$ docker-compose up -d
|
$ docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
Login with a "push" authorized user (using `testuser` and `testpassword`), then
|
Login with a "push" authorized user (using `testuser` and `testpassword`), then
|
||||||
|
Loading…
Reference in New Issue
Block a user