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
{% include /components/directory.html title="Table of Contents" %}
@@ -31,8 +36,8 @@ inside, go straight to [Use a Docker Container in a Job](#use-a-docker-container
31
36
and [Tips for HTCondor integration](#tips-for-HTCondor-integration)
32
37
33
38
If you do not have an existing Docker container you can:
34
-
* Find one: [Find an existing Docker container image](#find-an-existing-docker-container-image)
35
-
* Create one: [Create a Docker Container Image](#create-a-docker-container-image).
39
+
***Find one:**[Find an existing Docker container image](#find-an-existing-docker-container-image)
40
+
***Create one:**[Create a Docker Container Image](#create-a-docker-container-image).
36
41
Once you have a container image
37
42
ready, circle back to [Use a Docker Container in a Job](#use-a-docker-container-in-a-job).
38
43
@@ -88,14 +93,17 @@ Docker commands yourself.
88
93
Other pieces of the job (your executable and input files) should be just
89
94
like a non-Docker job submission.
90
95
96
+
<!--
91
97
TODO:
92
98
- transfer executable?
99
+
- NON root
93
100
- tag versions
101
+
-->
94
102
95
-
Similarly, we recommend using container tags. Importantly, whenever you make a significant change
103
+
We recommend using container tags. Importantly, whenever you make a significant change
96
104
to your container, you will want to use a new tag name to ensure that your jobs are getting an
97
105
updated version of the container, and not an 'old' version that has been cached by DockerHub
98
-
or CHTC.
106
+
or CHTC.
99
107
100
108
## Find an existing Docker container image
101
109
@@ -128,12 +136,12 @@ If you want to test your jobs or container, you have two options:
128
136
* We have a guide on exploring and testing Docker containers on your own computer here:
129
137
* [Exploring and Testing Docker Containers](docker-test.html)
130
138
* You can test a container interactively in CHTC by using a normal Docker job submit file and using the
131
-
interactive flag with `condor_submit`:
132
-
```
133
-
[alice@ap]$ condor_submit -i docker.sub
134
-
```
135
-
{: .cmd}
136
-
This should start a session inside the indicated Docker container and connect you to it using ssh. Type `exit` to end the interactive job. *Note*: Files generated during your interactive job with Docker will not be transfered back to the submit node. If you have a directory on `staging`, you can transfer the files there instead; if you have questions about this, please contact a facilitator.
139
+
interactive flag with `condor_submit`:
140
+
```
141
+
[alice@ap]$ condor_submit -i docker.sub
142
+
```
143
+
{:.term}
144
+
This should start a session inside the indicated Docker container and connect you to it using ssh. Type `exit` to end the interactive job. *Note*: Files generated during your interactive job with Docker will not be transfered back to the submit node. If you have a directory on `staging`, you can transfer the files there instead; if you have questions about this, please contact a facilitator.
0 commit comments