You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install/docker.md
+25-3Lines changed: 25 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,26 @@ and restart it if the container exits.
42
42
*`percona/percona-server-mongodb` is the name of the image to derive the container from.
43
43
44
44
*`<TAG>` is the tag specifying the version you need. For example, `{{release}}`. Docker automatically identifies the architecture (x86_64 or ARM64) and pulls the respective image. [See the full list of tags](https://hub.docker.com/r/percona/percona-server-mongodb/tags).
45
-
45
+
46
+
## Access container shell
47
+
48
+
--8<-- [start:shell]
49
+
50
+
Run the following command to start the bash session and run commands inside the container:
51
+
52
+
```{.bash data-prompt="$"}
53
+
$ docker exec -it <container-name>
54
+
```
55
+
56
+
where `<container-name>` is the name of your database container.
57
+
58
+
For example, to connect to Percona Server for MongoDB, run:
59
+
60
+
```{.bash data-prompt="$"}
61
+
$ mongosh
62
+
```
63
+
--8<-- [end:shell]
64
+
46
65
## Connecting from another Docker container
47
66
48
67
The Percona Server for MongoDB container exposes standard MongoDB port (27017),
@@ -57,8 +76,6 @@ For example, to set up a replica set for testing purposes, you have the followin
57
76
58
77
The following example demonstrates the setup on x86_64 platforms. The `rs101`, `rs102`, `rs103` are the container names for Percona Server for MongoDB and `rs` is the replica set name.
59
78
60
-
For ARM64 architectures, change the image to `percona/percona-server-mongodb:<TAG>-arm64`.
61
-
62
79
=== "Bridge network"
63
80
64
81
When you start Docker, a default `bridge` network is created and all containers are automatically attached to it unless otherwise specified.
@@ -249,3 +266,8 @@ You can get the IP address by running this command:
Copy file name to clipboardExpand all lines: docs/install/install-pro.md
+59Lines changed: 59 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,65 @@ The steps below describe the installation on Ubuntu 22.04. Replace the link to t
149
149
5. Make sure that you have read and write permissions for the data
150
150
directory and run `mongod`.
151
151
152
+
## Run Percona Server for MongoDB Pro in Docker
153
+
154
+
You can run Percona Server forMongoDB Proin Docker using the official image available in a private registry on [Docker Hub](https://hub.docker.com/r/percona/percona-server-mongodb-pro).
155
+
156
+
We gather [Telemetry data](../telemetry.md) to understand the use of the software and improve our products.x
157
+
158
+
To access this image, you must authenticate in DockerHub. For this you must have a valid Percona Server for MongoDB Pro subscription.
159
+
160
+
### Authenticate in Docker Hub
161
+
162
+
1. Contact your Percona Representative to get authentication credentials for Docker Hub. You will receive a username and an access token.
163
+
2. Authenticate in Docker Hub:
164
+
165
+
```{.bash data-prompt="$"}
166
+
$ docker login --username <Username>
167
+
```
168
+
169
+
When prompted for a password, enter your access token.
170
+
152
171
## Next steps
153
172
154
173
[Connect to MongoDB :material-arrow-right:](../connect.md){.md-button}
174
+
175
+
176
+
### Run Percona Server for MongoDB Pro
177
+
178
+
To run Percona Server forMongoDB Proin Docker, use the following command:
* The `docker run`command instructs the `docker` daemon
187
+
to run a container from an image.
188
+
189
+
* The `-d` option starts the container in detached mode
190
+
(that is, in the background).
191
+
192
+
* The `--name` option assigns a custom name for the container
193
+
that you can use to reference the container within a Docker network.
194
+
In this case: `psmdb-pro`.
195
+
196
+
* The `-p` option binds the container's port `27017` to TCP port `27017` on all host network interfaces. This makes the container accessible externally.
197
+
198
+
* The `--restart` option defines the container’s restart policy.
199
+
Setting it to `always` ensures that the Docker daemon
200
+
will start the container on startup
201
+
and restart it if the container exits.
202
+
203
+
* `percona/percona-server-mongodb-pro` is the name of the image to derive the container from.
204
+
205
+
* `<TAG>` is the tag specifying the version you need. For example, `{{release}}`. Docker automatically identifies the architecture (x86_64 or ARM64) and pulls the respective image. [See the full list of tags](https://hub.docker.com/r/percona/percona-server-mongodb-pro/tags).
Copy file name to clipboardExpand all lines: docs/psmdb-pro.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Percona Server for MongoDB Pro is a build of Percona Server for MongoDB that con
4
4
5
5
[Become a Percona Customer](https://www.percona.com/about/contact){.md-button}
6
6
7
-
Non-paying Percona software users can also benefit from Percona Pro Builds, but they’ll have to [build them from the source code](install/source.md) provided by Percona and available to everyone.
7
+
Non-paying Percona software users can also benefit from Percona Pro Builds, but they'll have to [build them from the source code](install/source.md) provided by Percona and available to everyone.
8
8
9
9
## Features
10
10
@@ -13,7 +13,7 @@ Find the list of solutions available in Percona Server for MongoDB Pro builds:
|[FIPS support ](fips.md)| 8.0.4-1 | FIPS mode provides a way to use FIPS-compliant encryption and run the Percona Server for MongoDB with the FIPS-140 certified library for OpenSSL. This helps customers meet minimum security requirements for cryptographic modules and testing in both hardware and software. |
16
-
| Binaries with debug symbols | 8.0.8-3](release_notes/8.0.8-3.md)| By including debug symbols in the binary, Percona Server for MongoDB enables deeper integration with monitoring agent-based solutions. These agents can instrument the binary at runtime, providing more detailed telemetry data, such as performance metrics, error tracking, and function-level diagnostics. This enhanced observability allows for better monitoring of system health, faster identification of issues, and more granular insights into how the application performs in production environments.<br> Including this information empowers teams to respond proactively to performance bottlenecks, optimize resource allocation, and improve the overall stability of the application with real-time insights. |
16
+
| Binaries with debug symbols |[8.0.8-3](release_notes/8.0.8-3.md)| By including debug symbols in the binary, Percona Server for MongoDB enables deeper integration with monitoring agent-based solutions. These agents can instrument the binary at runtime, providing more detailed telemetry data, such as performance metrics, error tracking, and function-level diagnostics. This enhanced observability allows for better monitoring of system health, faster identification of issues, and more granular insights into how the application performs in production environments.<br> Including this information empowers teams to respond proactively to performance bottlenecks, optimize resource allocation, and improve the overall stability of the application with real-time insights. |
0 commit comments