Hi.
I am trying to use google container registry to store an image of software needed for my analysis. I will use the image to configure the application environment using the option “Container image”.
I had followed the tutorial, publish a docker container image to google container registry. However, with the GCR transition to google artifact registry, I cannot find instructions to use GCR anymore.
When I try to use the artifact registry, the image has certain format as [us-location]-docker.pkg.dev/[project_id]/[imageid:tag]. It would not be accepted by the Terra environment configuration option for “container image”.
I would appreciate some instructions to use artifact registry, or to create GCR, so I can publish the image to GCR. Would Terra accept image from Docker.hub? Or should I just used the startup script to install the software whenever I start the VM?
Thanks.
In addition to my previous question, I would like to know:
It was said, one can either using a custom docker in the interactive notebook, or in a workflow.
To use it in the interactive notebook, the docker has to be extended from the base image. (ref: https://support.terra.bio/hc/en-us/articles/360037143432-Docker-tutorial-Custom-cloud-environments-for-Jupyter-Notebooks).
To use it in a workflow, does the custom docker has to follow certain requirements (has to be extended from the base image) or not? Shall I keep it light weighted? (the terra base image is quite large…)
Hi @truckload,
We unfortunately do not have specific documentation addressing the GCR/GAR transition.
If you are comfortable building Docker images, one option could be trying to pull from Docker hub as WDL can use [almost] any Docker image.
Also, many new AnVIL users do some interactive development using Cloud Enviroments. One of the reasons for doing this is to make sure people would have access to files and software they need.
Javier