mirror of
https://github.com/distribution/distribution.git
synced 2025-06-29 16:57:44 +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:
|
||||
|
||||
```console
|
||||
$ docker-compose up -d
|
||||
$ docker compose up -d
|
||||
```
|
||||
|
||||
## Considerations for air-gapped registries
|
||||
|
@ -192,7 +192,7 @@ EOF
|
||||
Now, start your stack:
|
||||
|
||||
```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:
|
||||
|
@ -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`.
|
||||
|
||||
```yaml
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
nginx:
|
||||
# Note : Only nginx:alpine supports bcrypt.
|
||||
@ -193,7 +191,7 @@ Review the [requirements](../#requirements), then follow these steps.
|
||||
Now, start your stack:
|
||||
|
||||
```consonle
|
||||
$ docker-compose up -d
|
||||
$ docker compose up -d
|
||||
```
|
||||
|
||||
Login with a "push" authorized user (using `testuser` and `testpassword`), then
|
||||
|
Loading…
Reference in New Issue
Block a user