Questions tagged [google-container-optimized-os]

40 questions
6
votes
1 answer

cos-extensions install gpu failed to download driver signature on GCP Compute Engine VM

I am working with GPU supported VMs on GCP Compute Engine. As OS I use a container optimized version (COS 89-16108.403.47 LTS), which supports simple GPU driver installation by running 'cos-extensions install gpu' via SSH (see Google doc). This had…
6
votes
3 answers

binary install in google container optimized OS

As it is the Linux version of OS, I tried firing, hoping that would work apt-get install jq But it says apt-get: command not found. How I can install new binaries as I wanted to add some extra logic in the startup script which required few extra…
5
votes
1 answer

How to use OS patch management for compute instances with Google container optimized os?

According to GCP's OS patch management, patch jobs can be created for the Compute Instance VMs that have the OS config agent installed in them. This document explains how to install the agent if it is not there already in some VMs. Operating…
4
votes
2 answers

How can I get `cos-extensions install gpu` to work on a Google Cloud VM?

I'm trying to set up a container-optimized OS (COS) on GCE with a GPU, following the instructions at https://cloud.google.com/container-optimized-os/docs/how-to/run-gpus. After creating the VM, it says to ssh in and run cos-extensions install gpu.…
3
votes
4 answers

Compute Engine Deploy Container

I am using golang to programmatically create and destroy one-off Compute Engine instances using the Compute Engine API. I can create an instance just fine, but what I'm really having trouble with is launching a container on startup. You can do it…
3
votes
1 answer

How can I monitor memory usage of container vm running on GCE

I've created new VM with docker container. This VM uses Google Container-Optimized OS. How can I monitor memory usage of this instance? There is no memory usage in observability: I see following message in Monitoring:
3
votes
1 answer

COS install GPU failed to download driver signature

I used Compute Engine VM with T4 GPU for quite some time on COS and it has been working fine until recently that cos-extensions install gpu does not work like before. I0830 07:32:58.419130 987 main.go:21] Checking if this is the only…
3
votes
2 answers

How do I get startup-script logs from Container-optimized OS in a GCE instance?

I'm running a container-optimized compute instance with this startup-script: #!/bin/bash mkdir /home/my-app cd /home/my-app export HOME=/home/my-app docker-credential-gcr configure-docker docker run --rm --log-driver=gcplogs --name my-app…
2
votes
2 answers

Where are files saved when using Google Colab with a Custom GCE VM

I am using Google Colab in combination with a Custom GCE VM based on the instructions here. I now need a way to retrieve files from the VM without using the Colab interface due to a bug described in this issue and this issue. I've reviewed the…
2
votes
1 answer

Disable Container Auto Launch on Google Container Optimized OS on GCP

According to Creating and configuring instances and my own testing, the Google Container Optimized OS launches the specified container on instance startup. However, I'd like to execute my own startup script which would include running the container.…
2
votes
0 answers

Setting port mapping in docker on Container-Optimized OS

I am trying to setup couchdb on Container-Optimized OS inside Google CLoud Platform. The container needs 5984 port to be redirected to host. I can't make it work with standard container setup, I can't see a place to define custom parameters to…
2
votes
1 answer

Cannot create a Google Compute Engine VM with a container image without en external IP address

I am attempting to build a VM using the marketplace posgresql11 image (though the problem appears to be general for all images I have tried) with the following GCLOUD command: gcloud compute instances create-with-container postgres-test \ …
2
votes
1 answer

How to update the containers in Googles container optimized os?

I want to use a buddy pipeline to push new images to DockerHub. When new images are pushed, the Google Container Optimized OS should pull the new ones. I'm using a Google Computer engine to host docker-compose on Google Container optimized os. How…
2
votes
2 answers

Injest logs as JSON in Container Optimized OS

I am able to injest logs to Google Log Viewer with the help of stackdriver logging agent from Container Optimized OS as JSON. It injests logs as a value to message, but not as json payload with the default configuration What I have tried? I have…
1
vote
0 answers

Migrating from fluentd to fluent-bit for stackdriver logs on Container-Optimized OS

I'm attempting to upgrade from the legacy fluentd logging agent to fluent-bit on Container-Optimized OS, as recommended here. These are Java logs in JSON format, produced by logback, and configured using…
1
2 3