Skip to content

Commit 9d38d4e

Browse files
committed
fix docker run command
1 parent f29b5cf commit 9d38d4e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/deployStandalone.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Our single container examples are located in the your local `${HOME}/projects/de
2626
```text
2727
./docker-run.sh <product-image-name>
2828
```
29+
30+
> This shell script uses the default DevOps server profile and environment settings to configure the PingDirectory container, runs the container in the background (detached mode, `-d`) and publishes PingDirectory to the ports `1389:389`.
2931
3032
* Use a server profile.
3133

@@ -35,11 +37,11 @@ Our single container examples are located in the your local `${HOME}/projects/de
3537
docker run -d --publish 1389:389 \
3638
--env SERVER_PROFILE_URL=https://github.com/pingidentity/pingidentity-server-profiles.git \
3739
--env SERVER_PROFILE_PATH=getting-started/pingdirectory \
40+
--detach \
41+
--env-file ~/.pingidentity/devops \
3842
pingidentity/pingdirectory
3943
```
4044

41-
This shell script uses the default DevOps server profile and environment settings to configure the PingDirectory container, runs the container in the background (detached mode, `-d`) and publishes PingDirectory to the ports `1389:389`.
42-
4345
2. Log in to the management console for the product:
4446

4547
* Ping Data Console for PingDirectory
@@ -77,7 +79,7 @@ Our single container examples are located in the your local `${HOME}/projects/de
7779

7880
3. To stop the container, use any of:
7981

80-
* The `dcstop` command alias or `docker container stop`.
82+
* The `dcstop <container_name>` command alias or `docker container stop <container_name>`.
8183

8284
> Enter `dhelp` for a listing of the DevOps command aliases. See the [Docker container command line reference](https://docs.docker.com/engine/reference/commandline/container/) for the Docker container commands.
8385

@@ -88,3 +90,4 @@ Our single container examples are located in the your local `${HOME}/projects/de
8890
```text
8991
./docker-run.sh <product-container-name>
9092
```
93+
* Stop all containers: `dsa`. Remove all containers: `dra`

0 commit comments

Comments
 (0)