8567: Add docker19 migration instructions to install guide.
authorPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 14 Mar 2017 16:39:24 +0000 (12:39 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 14 Mar 2017 16:39:24 +0000 (12:39 -0400)
doc/_config.yml
doc/install/migrate-docker19.html.textile.liquid [new file with mode: 0644]
docker/migrate-docker19/README [deleted file]
sdk/python/arvados/commands/keepdocker.py

index 22ae21400db12ef795341e1ead3ae57666dd2d98..cfb35dcd18cb7a6db22af6a7da6d0e360e4ec779 100644 (file)
@@ -171,3 +171,5 @@ navbar:
     - Helpful hints:
       - install/copy_pipeline_from_curoverse.html.textile.liquid
       - install/cheat_sheet.html.textile.liquid
+    - Migrating from Docker 1.9:
+      - install/migrate-docker19.html.textile.liquid
diff --git a/doc/install/migrate-docker19.html.textile.liquid b/doc/install/migrate-docker19.html.textile.liquid
new file mode 100644 (file)
index 0000000..656cd91
--- /dev/null
@@ -0,0 +1,25 @@
+---
+layout: default
+navsection: installguide
+title: Migrating Docker images
+...
+
+If you have an existing Arvados installation using Docker 1.9 and wish to update to Docker 1.10+, you must migrate the Docker images stored in Keep.
+
+The @arv-migrate-docker19@ tool converts Docker images stored in Arvados from image format v1 (Docker <= 1.9) to image format v2 (Docker >= 1.10).
+
+Requires Docker running on the local host (can be either 1.9 or 1.10+).
+
+Usage:
+
+# Run @arvados/docker/migrate-docker19/build.sh@ to create @arvados/migrate-docker19@ Docker image.
+# Set ARVADOS_API_HOST and ARVADOS_API_TOKEN to the cluster you want to migrate.
+# Run @arv-migrate-docker19@ from the Arvados Python SDK on the host (not in a container).
+
+This will query Arvados for v1 format Docker images.  For each image that does not already have a corresponding v2 format image (as indicated by a docker_image_migration tag) it will perform the following process:
+
+i) download the image from Arvados
+ii) load it into Docker
+iii) update the Docker version, which updates the image
+iv) save the v2 format image and upload to Arvados
+v) create a migration link
diff --git a/docker/migrate-docker19/README b/docker/migrate-docker19/README
deleted file mode 100644 (file)
index 3fcd07a..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-Docker image format migration tool for Arvados.
-
-This converts Docker images stored in Arvados from image format v1
-(Docker <= 1.9) to image format v2 (Docker >= 1.10).
-
-Requires Docker running on the local host.
-
-Usage:
-
-1) Run arvados/docker/migrate-docker19/build.sh to create
-arvados/migrate-docker19 Docker image.
-
-2) Set ARVADOS_API_HOST and ARVADOS_API_TOKEN to the cluster you want to migrate.
-
-3) Run arv-migrate-docker19
-
-This will query Arvados for v1 format Docker images.  For each image that does
-not already have a corresponding v2 format image (as indicated by a
-docker_image_migration tag) it will perform the following process:
-
-i) download the image from Arvados
-ii) load it into Docker
-iii) update the Docker version, which updates the image
-iv) save the v2 format image and upload to Arvados
-v) create a migration link
index 5603ade4924342c926d62080cbe804411e0b7386..135edd4810b2205518363bcbb34c515459d9df02 100644 (file)
@@ -356,7 +356,7 @@ def migrate19():
 
     2) Set ARVADOS_API_HOST and ARVADOS_API_TOKEN to the cluster you want to migrate.
 
-    3) Run arv-migrate-docker19
+    3) Run arv-migrate-docker19 from the Arvados Python SDK on the host (not in a container).
 
     This will query Arvados for v1 format Docker images.  For each image that
     does not already have a corresponding v2 format image (as indicated by a