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
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
78
-
fb19b94184ac sswiston/phylo_docker:slim_amd64 "/bin/sh" 5 minutes ago Exited (0) 4 minutes ago phylodocker_demo
78
+
fb19b94184ac sswiston/phylo_docker:full_amd64 "/bin/sh" 5 minutes ago Exited (0) 4 minutes ago phylodocker_demo
79
79
80
80
~ $ # resume active Docker container using start
81
81
~ $ docker start -ai phylodocker_demo
@@ -139,24 +139,24 @@ A Docker image containing RevBayes, TensorPhylo, Python, R, and other dependenci
139
139
140
140
First, open Docker Desktop. This starts the Docker daemon so that you can run `docker` commands. If you do not open Docker Desktop first, you will receive an error when you try to run a `docker` command. Then, in the desktop app, sign into your Docker Hub account.
141
141
142
-
Next, you will need to pull a `phylo_docker` image with a tag that matches your computer's hardware architecture. The two tagged versions currently supported are `phylo_docker:slim_amd64` and `phylo_docker:slim_arm64`. Consult the table below if you are unsure which tagged image to use.
142
+
Next, you will need to pull a `phylo_docker` image with a tag that matches your computer's hardware architecture. The two tagged versions currently supported are `phylo_docker:full_amd64` and `phylo_docker:full_arm64`. Consult the table below if you are unsure which tagged image to use.
| Windows or Linux | Intel or AMD | -- |`phylo_docker:slim_amd64`|
148
-
| Mac OS X | Intel | 2019 or earlier |`phylo_docker:slim_amd64`|
149
-
| Mac OS X | Silicon M1, M2, etc. | after 2019 |`phylo_docker:slim_arm64`|
147
+
| Windows or Linux | Intel or AMD | -- |`phylo_docker:full_amd64`|
148
+
| Mac OS X | Intel | 2019 or earlier |`phylo_docker:full_amd64`|
149
+
| Mac OS X | Silicon M1, M2, etc. | after 2019 |`phylo_docker:full_arm64`|
150
150
151
151
152
152
Next, open your command line and enter the appropriate pull command:
153
153
154
154
```
155
155
# For Intel/AMD computers
156
-
docker pull sswiston/phylo_docker:slim_amd64
156
+
docker pull sswiston/phylo_docker:full_amd64
157
157
158
158
# For Apple Silicon (M1, M2, etc.) computers
159
-
docker pull sswiston/phylo_docker:slim_arm64
159
+
docker pull sswiston/phylo_docker:full_arm64
160
160
```
161
161
162
162
Docker will automatically store the image on your computer in a directory reserved for Docker images. You will not have to manually locate this image; Docker will be able to find it.
@@ -183,10 +183,10 @@ You can also run the RevBayes Docker image directly from command line. This will
183
183
184
184
```
185
185
# For Intel/AMD computers
186
-
docker run --name [my_container] --volume [local_directory]:[container_directory] -it sswiston/phylo_docker:slim_amd64 /bin/sh
186
+
docker run --name [my_container] --volume [local_directory]:[container_directory] -it sswiston/phylo_docker:full_amd64 /bin/sh
187
187
188
188
# For Apple Silicon (M1, M2, etc.) computers
189
-
docker run --name [my_container] --volume [local_directory]:[container_directory] -it sswiston/phylo_docker:slim_arm64 /bin/sh
189
+
docker run --name [my_container] --volume [local_directory]:[container_directory] -it sswiston/phylo_docker:full_arm64 /bin/sh
190
190
```
191
191
192
192
Some parts of this command are directly analogous to the optional settings from the RevBayes GUI.
@@ -199,7 +199,7 @@ You can also run the RevBayes Docker image directly from command line. This will
199
199
200
200
- `-it` is for opening an interactive container. Docker containers can also be used to automatically run scripts and terminate when they are completed, but you will need an interactive container for this tutorial.
201
201
202
-
- `sswiston/phylo_docker:slim_amd64` or `sswiston/phylo_docker:slim_arm64` (hardware-dependent, see above) is the name of the Docker image you want to use.
202
+
- `sswiston/phylo_docker:full_amd64` or `sswiston/phylo_docker:full_arm64` (hardware-dependent, see above) is the name of the Docker image you want to use.
203
203
204
204
- `/bin/sh` tells the Docker container to open a new terminal (shell) session when it starts.
205
205
@@ -277,7 +277,7 @@ bsub \
277
277
-cwd $PROJECTDIR \
278
278
-J $NAME \
279
279
-o $OUTDIR$NAME.stdout.txt \
280
-
-a 'docker(sswiston/phylo_docker:slim_amd64)' /bin/bash /project/rev_shell.sh
280
+
-a 'docker(sswiston/phylo_docker:full_amd64)' /bin/bash /project/rev_shell.sh
281
281
```
282
282
283
283
Let's pick apart the elements of this script. There is a section at the top for defining variables, and then a `bsub` command using those variables.
@@ -306,7 +306,7 @@ After defining important variables, there is a multi-line `bsub` command that ac
306
306
307
307
- `-a` is the most important part of the `bsub` command. There are 3 parts.
308
308
309
-
- `'docker(sswiston/phylo_docker:slim_amd64)'` is the Docker image being used. The image will be pulled from Docker Hub.
309
+
- `'docker(sswiston/phylo_docker:full_amd64)'` is the Docker image being used. The image will be pulled from Docker Hub.
310
310
311
311
- `/bin/bash` is the initial command that will run once the container is open.
0 commit comments