Update with more options for registry login

This commit is contained in:
Iain Powrie 2021-11-06 16:02:58 +00:00
parent 6b24b09c81
commit cb3f6386c9

View File

@ -46,6 +46,15 @@ When you have this just run:
```bash ```bash
$ docker login registry.gitlab.com -u <username> -p <token> $ docker login registry.gitlab.com -u <username> -p <token>
``` ```
or
```bash
$ echo <token> | docker login registry.gitlab.com -u <username> --password-stdin
```
or
```bash
$ cat ~/my_password.txt | docker login registry.gitlab.com -u <username> --password-stdin
```
Then use one of the following methods: Then use one of the following methods:
#### docker-compose.yml #### docker-compose.yml
```yml ```yml