Is there such concept in GCP?
I want to make my image available for the community without going through all the process of becoming a GCP partner?
I was able to generate my Image, then export it to Google Cloud Storage as .tar.gz file and then make it public.
https://cloud.google.com/compute/docs/images/export-image
gcloud beta compute images export --destination-uri gs://my-bucket/my-image.tar.gz \
--image my-image --project my-project
I used beta as I was getting an error when exporting image.
Then use this link to import image from .tar.gz file and then create instance.
https://cloud.google.com/compute/docs/images/import-existing-image
Related
I'm trying to create a custom windows image using packer script provided by github from https://github.com/actions/runner-images.
The script that is there in this repo uses azure platform but I want to use GCP to build it.
I have tried making some changes in the script but in the end I end with an Image where startup scripts don't run. Raised an issue for this https://github.com/actions/runner-images/issues/6565. Github has replied with "We only support azure".
Is there any alternative to this? I just want to install few tools like java, maven, etc on top of a windows-2019 image.
I've tried using this script https://github.com/actions/runner-images/blob/main/images/win/windows2019.json. But the resulting image has few issues and the startup script doesn't run when i create a new gcp vm instance with it.
After migrating Docker to the latest and enabling WSL2 engine, all images have disappeared when I run:
C:\docker images --all
REPOSITORY TAG IMAGE ID CREATED SIZE
I need to recover my previous images.
Thanks for your help in advance.
I needed to uncked "Use the WSL 2 based engine" then rerun my command to see that WSL 2 based engine had a different images directory.
I have exported my old images and imported them after enabling WSL2 again.
Currently I'm doing POC in docker for Windows 2016. I just want to know how to build an own image.
Currently we are using
docker pull microsoft/windowsservercore
to pull base image but due to security reason we should not download images from public repository. So we should build our own Windows images.
Is it possible to build our own image with out downloading? If yes, means how we can build our own Windows server images.
There are plenty of ways to build a base image you can use tar or scratch
Below is the example:
FROM scratch
ADD helloworld.sh /usr/local/bin/hellowworld.sh
CMD ["/usr/local/bin/helloworld.sh"]
see the link to get more information
I think you've to setup your own company docker registry. After setting it up you can "import" the windowsservercore image to the private registry. See this link for further explanation.
You can use one downloaded image as the base image and then customize that image as per your needs. You should refer to Dockerfile for information regarding configuring your own image.
Just wanted to know if the docker image with name dockstore-tool-samtools-index which is available here "https://quay.io/repository/cancercollaboratory/dockstore-tool-samtools-index"
and given as an input to the Google Genomics API (pipelines.create) contains the genome tools such as GATK/BWA or Cromwell.
Any help regarding this will be appreciated.
Thanks.
It does not appear to contain those additional tools: https://github.com/CancerCollaboratory/dockstore-tool-samtools-index/blob/master/Dockerfile
Here's how to check:
Find the docker container on https://dockstore.org/search-containers.
Click on the "GitHub" link in the row with the container of interest.
Read the contents of the Dockerfile to see what the image will contain.
One aspect of Docker images is that they usually try to have only one specific tool installed on them. This way the images are kept as small as possible with the idea that they can be used like modules.
There are images listed in the Dockstore search link provided by Nicole above which have BWA installed. Cromwell usually launches Docker containers rather than being installed on a Docker image, since it is more of workflow management system. You are always welcome to create your own custom image with the preferred installed software packages to fit what you need.
Hope it helps,
Paul
I have been trying to find an easy solution to upload a small image (500px) to S3 from a Mac app I am building.
The mac app is an OS X version of an iOS app I have already built. The only interaction I need to have with AWS is to upload images so I am just looking for the best practice method for doing this.
Is creating a PHP script to do the job on the EC2 instance the best way to go about this since there isn't an AWS SDK for Mac?
I have created an OSXified version of the iOS SDK here. I have added a scheme to build only the modules (AWSCore, AWSCognito and AWSS3) you need for S3 interactions. Once you build, locate the Products directory in finder and you should see the 3 .framework files you will need to add to your OSX project.
From that point onwards it is the same as using the iOS library, instructions for which are provided here (Getting started with Swift/Objective-C sections).
When using in your own project make sure you add a build phase for copy files and add these frameworks there. Lastly turning on codesigning will prevent you from having to interact with Keychain Access everytime you run your app.