How can i configure a container to run in previlaged mode on Google Compute Engine?

0 votes

I have created an instance template to use for running containers on compute engine, How do I specify the container configuration so that it runs in the previlaged mode using the Google Cloud Platform Console?

Sep 25 in GCP by Karan
• 6,060 points
29 views

1 answer to this question.

0 votes

You can run a container in privileged mode to allow access to all devices on the host. 

Containers are run as "unprivileged" by default and are not allowed to access any devices.

  1. Go to the VM instances page.

  2. Click the Create instance button to create a new instance.

  3. Under the Container section, check Deploy container image.

  4. Click Advanced container options.

  5. Check Run as privileged.

answered Sep 25 by Sirajul
• 39,540 points

Related Questions In GCP

+1 vote
2 answers

How to open a port on google compute engine

You need to set the firewall rule ...READ MORE

answered Jul 9 in GCP by K sagar
164 views
0 votes
1 answer
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 39,540 points
41 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 39,540 points
50 views