Questions tagged [google-container-os]

Container-Optimized OS is an operating system image for your Compute Engine VMs that is optimized for running Docker containers

With Container-Optimized OS, you can bring up your Docker containers on Google Cloud Platform quickly, efficiently, and securely. Container-Optimized OS is maintained by Google and is based on the open source Chromium OS project. * Website

79 questions
0
votes
1 answer

Increasing the disk size that docker can access in Container Optimized OS

I am attempting to run a simple daily batch script that can run for some hours, after which it will send the data it generated and shut down the instance. To achieve that, I have put the following into user-data: users: - name: cloudservice …
0
votes
1 answer

Hyperledger 1.4.6: Node.js chaincode instantiate fails with 1 "cp: cannot stat '/chaincode/input/src/.': No such file or directory

I'm trying to instantiate the code using fabric-tools. The peer runs on Container Optimized OS in Google Cloud. Install works (sorry maybe some parameters are not necessary): docker exec -e \"CORE_PEER_LOCALMSPID=${ORGANIZATION^}MSP\" ^ -e…
0
votes
1 answer

Check is compute engine instance exist before deleting

I use .gitlab-ci.yml file for auto deploying of my pet project to GCP, and I want to each time when I merge some new code , update my current code to new one from google cloud container registry . And the only way I see for now , it to delete old…
Andrey Radkevich
  • 3,012
  • 5
  • 25
  • 57
0
votes
1 answer

how to assign "container registry" permissions to virtual machine in Google Cloud

I'm creating a virtual machine in Google Cloud with full access scopes When I connect to the virtual machine by SSH and try to pull a docker image from Container registry, it throws permissions error: So I wonder how do I give permissions for my…
0
votes
2 answers

Where to store files in GKE container?

I'm having trouble understanding where to store files in a GKE container? I've seen the following documentation of the filesystem layout: https://cloud.google.com/kubernetes-engine/docs/concepts/node-images#file_system_layout But then there are also…
0
votes
2 answers

Is it possible to pull the build number from a running Google Container-Optimized OS?

According to this page, one can pull the kernel sources from the following location in Google Cloud Storage. gs://cos-tools// I am trying to find the source for a running instance of the Container-Optimized OS, but I have not found…
merlin2011
  • 71,677
  • 44
  • 195
  • 329
0
votes
1 answer

How do I provide feedback to the developers of COS?

The links under Resources/Accessing and Contributing to Source seems to only link to the Chromium OS and not the Container-Optimized OS. The actual feedback I noticed that the "cpu MHz" entry under /proc/cpuinfo on cos-dev is 0, compared to…
DrLime2k10
  • 276
  • 1
  • 2
  • 14
0
votes
2 answers

How to backup a Google Cloud VM running Container-Optimized OS?

I deployed a Docker image on a Google Compute Engine virtual machine instance (see containers on compute engine). I would like to perform regular, automatic backups of this instance and it's disks. Container-Optimized OS has limitations that do not…
runixo
  • 156
  • 3
  • 13
0
votes
1 answer

Container Optimized OS Graceful Shutdown of Celery

Running COS on GCE Any ideas on how to get COS to do a graceful docker shutdown? My innermost process is celery, which says he wants a SIGTERM to stop gracefully http://docs.celeryproject.org/en/latest/userguide/workers.html#stopping-the-worker My…
bwawok
  • 14,898
  • 7
  • 32
  • 43
0
votes
1 answer

Run docker from within toolbox

Within Google Container OS, I would like to use it as my cloud development environment. How would I run the docker command from the toolbox? Do I need to add the docker.sock as a bind mount? I need to be able to run docker (and docker-compose) to…
maletor
  • 7,072
  • 7
  • 42
  • 63
0
votes
0 answers

spring-boot-kube-deployment-port80-3467990654-5c8nl 0/1 CrashLoopBackOff

Steps followed during rolling updates: Create an image for the v2 version of the application with some changes Re-Build a Docker Image with Maven. pom.xml. Run command in SSH or Cloud Shell: docker build -t…
0
votes
1 answer

Install intermediate CA Cert

I have a Kubernetes cluster hosting my own docker registry that I built using the following…
niharvey
  • 2,807
  • 2
  • 15
  • 24
0
votes
1 answer

Deploying Containers on Compute Engine VMs

I'm a little bit confused, GCP has this new feature Deploying Containers on VMs and Managed Instance Groups which is currently marked as an Alpha release of Containers on Compute Engine and you actually need to request to be whitelisted for this…
0
votes
2 answers

Container Optimized OS Examples

I've followed all the documentation here: https://cloud.google.com/container-optimized-os/docs/ to try to upgrade my existing configuration that used container-vm images that have now been deprecated, to a new configuration using container-optimized…
dgrant
  • 1,417
  • 3
  • 16
  • 23
0
votes
1 answer

RBAC - Limit access for one service account

I want to limit the permissions to the following service account, created it as follows: kubectl create serviceaccount alice --namespace default secret=$(kubectl get sa alice -o json | jq -r .secrets[].name) kubectl get secret $secret -o json | jq…