@@ -161,16 +161,16 @@ following example assumes the model is checked out in ``$SRC_PATH``.
161161
162162.. code-block :: bash
163163
164- docker run -it --rm --hostname docker -e CIME_MODEL=e3sm -v ${SRC_PATH} :/root/model -v ` pwd ` /test-cases :/root/cases -v ` pwd ` /input-data :/root/inputdata -w /root/E3SM/cime ghcr.io/esmci/cime:latest bash
164+ docker run -it --rm --hostname docker -e CIME_MODEL=e3sm -v ${SRC_PATH} :/root/model -v ./storage :/root/storage -v ./inputdata :/root/inputdata -w /root/E3SM/cime ghcr.io/esmci/cime:latest bash
165165
166166 This example will drop into a shell where CIME commands or tests can be run.
167167The options are broken down below.
168168
169169- ``--hostname docker `` is required to tell CIME which machine definition to use.
170170- ``-e CIME_MODEL=e3sm `` defines the model.
171171- ``-v ${SRC_PATH}:/root/E3SM `` passes through the model source.
172- - ``-v `pwd`/test-cases :/root/cases `` stores cases in the current directory under `` test-cases `` .
173- - ``-v `pwd`/inputdata :/root/inputdata `` stores inputdata in the current directory under `` inputdata `` .
172+ - ``-v ./inputdata :/root/inputdata `` persistent input data .
173+ - ``-v ./storage :/root/storage `` persistent cases, baselines, timings, etc .
174174- ``-w /root/E3SM/cime `` set the current working directory to CIME's root.
175175- ``ghcr.io/esmci/cime:latest `` container image.
176176- ``bash `` the command to run in the container.
@@ -179,9 +179,9 @@ You can even run CIME or testing without a shell.
179179
180180.. code-block :: bash
181181
182- docker run -it --rm --hostname docker -e CIME_MODEL=e3sm -v ${SRC_PATH} :/root/model -v ` pwd ` /test-cases :/root/cases -v ` pwd ` /input-data:/root/inputdata -w /root/E3SM/cime ghcr.io/esmci/cime:latest pytest CIME/tests/test_unit*
182+ docker run -it --rm --hostname docker -e CIME_MODEL=e3sm -v ${SRC_PATH} :/root/model -v ./storage :/root/storage -w /root/E3SM/cime ghcr.io/esmci/cime:latest pytest CIME/tests/test_unit*
183183
184184 .. code-block :: bash
185185
186- docker run -it --rm --hostname docker -e CIME_MODEL=e3sm -v ${SRC_PATH} :/root/model -v ` pwd ` /test-cases :/root/cases -v ` pwd ` /input-data:/root/inputdata -w /root/E3SM/cime ghcr.io/esmci/cime:latest ./scripts/create_test SMS.f19_g16.S
186+ docker run -it --rm --hostname docker -e CIME_MODEL=e3sm -v ${SRC_PATH} :/root/model -v ./storage :/root/storage -w /root/E3SM/cime ghcr.io/esmci/cime:latest ./scripts/create_test SMS.f19_g16.S
187187
0 commit comments