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…

user15774062
- 63
- 3
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…

Indrajeet Gour
- 4,020
- 5
- 43
- 70
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…

Amit Yadav
- 4,422
- 5
- 34
- 79
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.…

GaryO
- 5,873
- 1
- 36
- 61
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…

Gillespie
- 5,780
- 3
- 32
- 54
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:
user13331707
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…

Phumin W.
- 33
- 3
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…

stkvtflw
- 12,092
- 26
- 78
- 155
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…

s_go
- 25
- 5
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.…

Gold
- 143
- 1
- 6
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…

Piciu
- 43
- 5
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 \
…

Jason Connor
- 35
- 3
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…

Joel Castillo
- 63
- 8
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…

GamerAtmos
- 119
- 1
- 7
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…

marthursson
- 3,242
- 1
- 18
- 28