X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f644e242ef37c911ad3dc25aca8135c339de349..9cc572d6a44262e21251372e28b549cfc09e681a:/doc/_includes/_install_compute_docker.liquid diff --git a/doc/_includes/_install_compute_docker.liquid b/doc/_includes/_install_compute_docker.liquid index 18347785cd..6a1a731865 100644 --- a/doc/_includes/_install_compute_docker.liquid +++ b/doc/_includes/_install_compute_docker.liquid @@ -49,3 +49,30 @@ On Red Hat-based systems, run: Finally, reboot the system to make these changes effective. + +h2. Create a project for Docker images + +Here we create a default project for the standard Arvados Docker images, and give all users read access to it. The project is owned by the system user. + + +
~$ project_uuid=`arv --format=uuid group create --group "{\"owner_uuid\":\"$prefix-tpzed-000000000000000\", \"name\":\"Arvados Standard Docker Images\"}"`
+~$ echo "Arvados project uuid is '$project_uuid'"
+~$ read -rd $'\000' newlink <<EOF; arv link create --link "$newlink"
+{
+ "tail_uuid":"$all_users_group_uuid",
+ "head_uuid":"$project_uuid",
+ "link_class":"permission",
+ "name":"can_read"
+}
+EOF
+
+ +h2. Download and tag the latest arvados/jobs docker image + +In order to start workflows from workbench, there needs to be Docker image tagged @arvados/jobs:latest@. The following command downloads the latest arvados/jobs image from Docker Hub, loads it into Keep, and tags it as 'latest'. In this example @$project_uuid@ should be the the UUID of the "Arvados Standard Docker Images" project. + + +
~$ arv-keepdocker --project-uuid $project_uuid --pull arvados/jobs latest
+
+ +If the image needs to be downloaded from Docker Hub, the command can take a few minutes to complete, depending on available network bandwidth.