Skip to content

Commit 041cad9

Browse files
committed
docs edits
1 parent 08c3f38 commit 041cad9

11 files changed

+223
-469
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
:::note
2-
The `replicated login` command creates a token after you log in to your vendor account in a browser and saves it to a config file. Alteratively, if you do not have access to a browser, you can set the `REPLICATED_API_TOKEN` environment variable to authenticate. For more information, see [(Optional) Set Environment Variables](/reference/replicated-cli-installing#env-var).
2+
The `replicated login` command creates a token after you log in to your vendor account in a browser and saves it to a config file.
33
:::

docs/partials/replicated-cli/_install-docker.mdx

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
For Windows users, Replicated recommends using Windows Subsystem for Linux (WSL2) and installing the Replicated using the Linux installations above. See [Linux / Windows Subsystem for Linux (WSL2)](#linux-wsl2).
33
:::
44

5-
Installing in Docker environments requires that you set the `REPLICATED_API_TOKEN` environment variable to authorize the Replicated CLI with an API token. For more information, see [(Optional) Set Environment Variables](/reference/replicated-cli-installing#env-var).
6-
75
To install and run the latest Replicated CLI in Docker environments:
86

97
1. Generate a service account or user API token in the vendor portal. To create new releases, the token must have `Read/Write` access. See [Generating API Tokens](/vendor/replicated-api-tokens).
@@ -12,25 +10,8 @@ To install and run the latest Replicated CLI in Docker environments:
1210

1311
Download and install the files. For simplicity, the usage in the next step is represented assuming that the CLI is downloaded and installed to the desktop.
1412

15-
1. Authorize the Replicated CLI:
16-
17-
- Through a Docker container:
18-
19-
```shell
20-
docker run \
21-
-e REPLICATED_API_TOKEN=$TOKEN \
22-
replicated/vendor-cli --help
23-
```
24-
Replace `TOKEN` with your API token.
25-
26-
- On Windows:
27-
28-
```dos
29-
docker.exe run \
30-
-e REPLICATED_API_TOKEN=%TOKEN% \
31-
replicated/vendor-cli --help
32-
```
33-
34-
Replace `TOKEN` with your API token.
13+
1. To begin using the Replicated CLI to manage your applications, authenticate with your Replicated credentials. See [Authenticate](#auth).
3514

36-
For more information about the `docker run` command, see [docker run](https://docs.docker.com/engine/reference/commandline/run/) in the Docker documentation.
15+
:::note
16+
Installing in Docker environments requires that you set the `REPLICATED_API_TOKEN` environment variable to authorize the Replicated CLI with an API token. For more information, see [Set Environment Variables](/reference/replicated-cli-installing#env-var).
17+
:::

docs/reference/cli-profiles.md

Lines changed: 0 additions & 179 deletions
This file was deleted.

0 commit comments

Comments
 (0)