Skip to content

Commit

Permalink
Fix docker exec commands
Browse files Browse the repository at this point in the history
--name option does not exist for `docker exec`
  • Loading branch information
boris-ilijic committed Mar 4, 2024
1 parent b8901e6 commit 3b61bd1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/details/pbm-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ The elected `pbm-agent` acquires a lock for an operation. This prevents mutually

When the operation is complete, the `pbm-agent` releases the lock and updates the PBM control collections.

A single `pbm-agent` is involved with only one cluster (or non-sharded replica set). The `pbm` CLI utility can connect to any cluster to which it has network access, so it is possible for one user to list and launch backups or restores on many clusters.
A single `pbm-agent` is involved with only one cluster (or non-sharded replica set). The `pbm` CLI utility can connect to any cluster to which it has network access, so it is possible for one user to list and launch backups or restores on many clusters.
2 changes: 1 addition & 1 deletion docs/install/configure-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ PBM_MONGODB_URI="mongodb://<aws_access_key_id>:<aws_secret_access_key>@<hostname

## Next steps

[Configure backup storage :material-arrow-right:](backup-storage.md){.md-button}
[Configure backup storage :material-arrow-right:](backup-storage.md){.md-button}
4 changes: 2 additions & 2 deletions docs/install/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Percona Backup for MongoDB requires the remote storage where to store data. Use
1. Start a Bash session:

```{.bash data-prompt="$"}
$ docker exec -it --name <container-name> bash
$ docker exec -it <container-name> bash
```

2. Create a YAML configuration file:
Expand Down Expand Up @@ -76,7 +76,7 @@ Percona Backup for MongoDB command line utility (`pbm`) provides the set of comm
For example, to start a backup, use the following command:

```{.bash data-prompt="$"}
$ docker exec -it --name <container-name> pbm backup
$ docker exec -it <container-name> pbm backup
```

where `<container-name>` is the name you assigned to the container and `pbm backup` is the command to start a backup.
Expand Down

0 comments on commit 3b61bd1

Please sign in to comment.