Skip to content

Commit f1ad3f4

Browse files
authored
(DOCSP-30771) Adds Docker image as way to install Atlas CLI (#183)
* (DOCSP-30771) Adds Docker image as way to install Atlas CLI * Includes changes from tech review * Includes more tech review changes
1 parent 8a693c7 commit f1ad3f4

File tree

4 files changed

+53
-0
lines changed

4 files changed

+53
-0
lines changed

source/atlas-cli-save-connection-settings.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Select a use case and follow the procedure to create a profile.
125125
exists, these commands update the default profile's values.
126126

127127
.. procedure::
128+
:style: normal
128129

129130
.. include:: /includes/steps-atlas-cli-auth-nonprog-default.rst
130131

@@ -136,6 +137,7 @@ Select a use case and follow the procedure to create a profile.
136137
Follow these steps to create a profile with a custom name.
137138

138139
.. procedure::
140+
:style: normal
139141

140142
.. step:: Run the authentication command.
141143

@@ -166,6 +168,7 @@ Select a use case and follow the procedure to create a profile.
166168
exists, these commands update the default profile's values.
167169

168170
.. procedure::
171+
:style: normal
169172

170173
.. include:: /includes/steps-atlas-cli-auth-prog-default.rst
171174

@@ -177,6 +180,7 @@ Select a use case and follow the procedure to create a profile.
177180
Follow these steps to create a profile with a custom name.
178181

179182
.. procedure::
183+
:style: normal
180184

181185
.. step:: Run the authentication command.
182186

source/connect-atlas-cli.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ from the {+atlas-cli+}.
124124
:tabid: atlas-auth-login
125125

126126
.. procedure::
127+
:style: normal
127128

128129
.. include:: /includes/steps-atlas-cli-auth-nonprog-default.rst
129130

@@ -185,6 +186,7 @@ from the {+atlas-cli+}.
185186
:tabid: atlas-config-init
186187

187188
.. procedure::
189+
:style: normal
188190

189191
.. include:: /includes/steps-atlas-cli-auth-prog-default.rst
190192

source/install-atlas-cli.txt

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ To check whether your operating system is compatible with the
6666
#. Install Chocolatey using ``cmd.exe`` or ``PowerShell.exe``. To
6767
learn more, see `Installing Chocolatey <https://docs.chocolatey.org/en-us/choco/setup#installing-chocolatey>`__.
6868

69+
.. tab:: Docker
70+
:tabid: docker
71+
72+
Complete the Prerequisites
73+
~~~~~~~~~~~~~~~~~~~~~~~~~~
74+
75+
To install the {+atlas-cli+} using Docker, install the
76+
`Docker engine <https://docs.docker.com/engine/install/>`__ or
77+
`Docker desktop <https://docs.docker.com/desktop/>`__.
78+
6979
.. tab:: Download Binary
7080
:tabid: download-binary
7181

@@ -79,6 +89,7 @@ Follow These Steps
7989
:tabid: Homebrew
8090

8191
.. procedure::
92+
:style: normal
8293

8394
.. step:: Install the {+atlas-cli+} and {+mongosh+}.
8495

@@ -101,6 +112,7 @@ Follow These Steps
101112
:tabid: yum
102113

103114
.. procedure::
115+
:style: normal
104116

105117
.. step:: Configure ``yum`` for your edition of MongoDB.
106118

@@ -202,6 +214,7 @@ Follow These Steps
202214
:tabid: apt
203215

204216
.. procedure::
217+
:style: normal
205218

206219
.. step:: Import the public key used by ``apt``.
207220

@@ -376,6 +389,7 @@ Follow These Steps
376389
:tabid: chocolatey
377390

378391
.. procedure::
392+
:style: normal
379393

380394
.. step:: Install the {+atlas-cli+}.
381395

@@ -389,10 +403,37 @@ Follow These Steps
389403

390404
.. include:: /includes/steps-verify-atlas-cli.rst
391405

406+
.. tab:: Docker
407+
:tabid: docker
408+
409+
To pull the latest {+atlas-cli+} Docker image, run the following
410+
command:
411+
412+
.. code-block::
413+
414+
docker pull mongodb/atlas
415+
416+
If you run ``docker pull mongodb/atlas`` without specifying
417+
a version tag, Docker automatically pulls the latest version
418+
of the Docker image (``mongodb/atlas:latest``).
419+
420+
To pull a specific version of the Docker image, run the following
421+
command, replacing ``<tag>`` with the version tag:
422+
423+
.. code-block::
424+
425+
docker pull mongodb/atlas:<tag>
426+
427+
To learn how to run {+atlas-cli+} commands with Docker after you
428+
pull the Docker image, see the
429+
`{+atlas-cli+} Docker documentation
430+
<https://hub.docker.com/repository/docker/mongodb/atlas/general>`__.
431+
392432
.. tab:: Download Binary
393433
:tabid: download-binary
394434

395435
.. procedure::
436+
:style: normal
396437

397438
.. step:: Install the {+atlas-cli+}.
398439

@@ -452,6 +493,7 @@ method you used to install the {+atlas-cli+}:
452493
~~~~~~~~~~~~~~~~~~
453494

454495
.. procedure::
496+
:style: normal
455497

456498
.. step:: Update the {+atlas-cli+}.
457499

@@ -480,6 +522,7 @@ method you used to install the {+atlas-cli+}:
480522
~~~~~~~~~~~~~~~~~~
481523

482524
.. procedure::
525+
:style: normal
483526

484527
.. step:: Update the {+atlas-cli+}.
485528

@@ -506,6 +549,7 @@ method you used to install the {+atlas-cli+}:
506549
~~~~~~~~~~~~~~~~~~
507550

508551
.. procedure::
552+
:style: normal
509553

510554
.. step:: Update the {+atlas-cli+}.
511555

@@ -533,6 +577,7 @@ method you used to install the {+atlas-cli+}:
533577
~~~~~~~~~~~~~~~~~~
534578

535579
.. procedure::
580+
:style: normal
536581

537582
.. step:: Install the {+atlas-cli+}.
538583

@@ -549,6 +594,7 @@ method you used to install the {+atlas-cli+}:
549594
~~~~~~~~~~~~~~~~~~
550595

551596
.. procedure::
597+
:style: normal
552598

553599
.. step:: Update the {+atlas-cli+}.
554600

source/migrate-to-atlas-cli.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Complete the
2121
following steps to migrate from the {+mcli+} to the {+atlas-cli+}:
2222

2323
.. procedure::
24+
:style: normal
2425

2526
.. step:: Install the {+atlas-cli+}.
2627

0 commit comments

Comments
 (0)