Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #763 from Songjoy/master
Browse files Browse the repository at this point in the history
docs: improve docs
  • Loading branch information
allencloud committed Aug 6, 2019
2 parents 49c1fd2 + edf7259 commit e659d7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ Yes, Dragonfly supports users to pull private image which needs username/passwor
}
```

In the above content the `auth_value` base64("${usename}:${password}"). Since users definitely have their own username/password for private images, then use the following command to generate `$auth_value` and fill the generated result in `config.json`:
In the above content the `auth_value` base64("${username}:${password}"). Since users definitely have their own username/password for private images, then use the following command to generate `$auth_value` and fill the generated result in `config.json`:

```shell
echo "${usename}:${password}" | base64
echo "${username}:${password}" | base64
```

## How to check if block piece is distributed among dfgets nodes
Expand Down
6 changes: 3 additions & 3 deletions docs/user_guide/download_files.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Things are done differently when you download container images and download gene
tailf ~/.small-dragonfly/logs/dfdaemon.log
```
**Tip:** To list all available parameters for dfdaemon, run `dfdeaemon -h`.
**Tip:** To list all available parameters for dfdaemon, run `dfdaemon -h`.
3. Configure the Daemon Mirror.
Expand Down Expand Up @@ -67,10 +67,10 @@ Things are done differently when you download container images and download gene
}
```
The ${auth_value} is `base64("${usename}:${password}")`.
The ${auth_value} is `base64("${username}:${password}")`.
```bash
echo "${usename}:${password}" | base64
echo "${username}:${password}" | base64
```
4. Download an image with Dragonfly.
Expand Down

0 comments on commit e659d7f

Please sign in to comment.