Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Container-Optimized OS di Google è un'immagine del sistema operativo per le VM di Compute Engine ottimizzata per l'esecuzione di container.
Container-Optimized OS è gestito da Google e si basa sul progetto open source Chromium OS. Con Container-Optimized OS, puoi avviare i tuoi
container sulla piattaforma Google Cloud in modo rapido, efficiente e sicuro.
Funzionalità e vantaggi
Container-Optimized OS offre i seguenti vantaggi:
Esegui i container out of the box: le istanze Container-Optimized OS sono preinstallate con i runtime Docker e containerd e cloud-init. Con un'istanza Container-Optimized OS, puoi avviare il container contemporaneamente alla creazione della VM, senza alcuna configurazione on-host richiesta.
Superficie di attacco più piccola: il sistema operativo ottimizzato per i container ha un ingombro ridotto,
riducendo la potenziale superficie di attacco dell'istanza.
Bloccato per impostazione predefinita: le istanze Container-Optimized OS includono un firewall bloccato e altre impostazioni di sicurezza predefinite.
Aggiornamenti automatici: le istanze del sistema operativo ottimizzato per i contenitori sono configurate per scaricare automaticamente gli aggiornamenti settimanali in background; è sufficiente un riavvio per utilizzare gli aggiornamenti più recenti.
Limitazioni
Container-Optimized OS offre un supporto limitato o nullo per alcune delle funzionalità comuni che potresti conoscere su altri sistemi operativi:
Container-Optimized OS non include un gestore dei pacchetti, pertanto non potrai installare i pacchetti software direttamente su un'istanza. Tuttavia, puoi utilizzare CoreOS Toolbox per installare ed eseguire strumenti di debug e amministrazione in un contenitore isolato.
Container-Optimized OS non supporta l'esecuzione di applicazioni non containerizzate.
Il kernel di Container-Optimized OS è bloccato; non potrai installare moduli o driver di kernel di terze parti.
Container-Optimized OS non è supportato al di fuori dell'ambiente della piattaforma Google Cloud.
Utilizzo di Container-Optimized OS
Container-Optimized OS è l'immagine del sistema operativo del nodo predefinita in Kubernetes Engine e in altri deployment di Kubernetes sulla piattaforma Google Cloud. Per ulteriori informazioni sull'utilizzo di Container-Optimized OS con Kubernetes Engine, consulta la guida rapida di Kubernetes Engine.
Puoi anche utilizzare Container-Optimized OS per avviare rapidamente un container su un'istanza Compute Engine con una configurazione minima. Per ulteriori informazioni, consulta la sezione Creare e configurare istanze.
Puoi eseguire strumenti come ping, Google Cloud CLI, pstree, htop,
emacs e altri utilizzando l'utilità CoreOS toolbox, preinstallata nel sistema operativo ottimizzato per i container all'indirizzo /usr/bin/toolbox. Per ulteriori informazioni, consulta Eseguire il debug con la cassetta degli attrezzi.
Casi d'uso di Container-Optimized OS
Container-Optimized OS può essere utilizzato per eseguire la maggior parte dei container. Ti consigliamo di utilizzare Container-Optimized OS come sistema operativo per la tua istanza Compute Engine se hai le seguenti esigenze:
Hai bisogno di supporto per i container o Kubernetes con una configurazione minima.
È necessario un sistema operativo con un ingombro ridotto e con protezione avanzata per i container.
È necessario un sistema operativo testato e verificato per l'esecuzione di Kubernetes sulle istanze Compute Engine.
Container-Optimized OS potrebbe non essere la scelta giusta per te nei seguenti
casi:
L'applicazione non è containerizzata o l'applicazione containerizzata dipende da moduli del kernel, driver e altri pacchetti aggiuntivi che non sono disponibili in Container-Optimized OS.
Hai bisogno di assistenza clienti professionale da un fornitore Linux (Canonical,
Core OS, Redhat, SUSE e così via).
Vuoi che l'immagine e l'applicazione del sistema operativo siano completamente supportate al di fuori diGoogle Cloud.
Consulta Contenitori su Google Cloud per scoprire di più su altri sistemi operativi che puoi utilizzare per eseguire applicazioni containerizzate su Google Cloud. Compute Engine
fornisce immagini per altri sistemi operativi di uso comune, tra cui immagini
ottimizzate per i container.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[[["\u003cp\u003eContainer-Optimized OS is a Google-maintained operating system image for Compute Engine VMs, specifically designed for running containers efficiently and securely.\u003c/p\u003e\n"],["\u003cp\u003eThis OS comes pre-installed with Docker, containerd runtimes, and \u003ccode\u003ecloud-init\u003c/code\u003e, allowing users to deploy containers concurrently with VM creation, without needing additional on-host configurations.\u003c/p\u003e\n"],["\u003cp\u003eContainer-Optimized OS is security-focused, featuring a smaller attack surface, a locked-down firewall, and weekly automatic background updates.\u003c/p\u003e\n"],["\u003cp\u003eWhile optimized for containers and Kubernetes, Container-Optimized OS has limitations, including the absence of a package manager, no support for non-containerized applications, and the inability to install third-party kernel modules.\u003c/p\u003e\n"],["\u003cp\u003eContainer-Optimized OS is the default OS for Kubernetes Engine and other deployments on the Google Cloud platform, but may not be suitable for applications that require custom kernel modules, non-containerized applications, or professional Linux provider support.\u003c/p\u003e\n"]]],[],null,["# Container-Optimized OS Overview\n\nContainer-Optimized OS from Google is an operating system image for your\n[Compute Engine](/compute) VMs that is optimized for running containers.\nContainer-Optimized OS is maintained by Google and based on the open source\nChromium OS project. With Container-Optimized OS, you can bring up your\ncontainers on Google Cloud Platform quickly, efficiently, and securely.\n\nFeatures and Benefits\n---------------------\n\nContainer-Optimized OS provides the following benefits:\n\n- **Run Containers Out of the Box** : Container-Optimized OS instances come pre-installed with the Docker and containerd runtimes and `cloud-init`. With a Container-Optimized OS instance, you can bring up your container at the same time you create your VM, with no on-host setup required.\n- **Smaller attack surface**: Container-Optimized OS has a smaller footprint, reducing your instance's potential attack surface.\n- **Locked-down by default**: Container-Optimized OS instances include a locked-down firewall and other security settings by default.\n- **Automatic Updates**: Container-Optimized OS instances are configured to automatically download weekly updates in the background; only a reboot is necessary to use the latest updates.\n\nLimitations\n-----------\n\nContainer-Optimized OS has limited or no support for some of the common\nfeatures you may be familiar with on other operating systems:\n\n- Container-Optimized OS does not include a package manager; as such, you'll be unable to install software packages directly on an instance. However, you can use [CoreOS toolbox](/container-optimized-os/docs/how-to/toolbox) to install and run debugging and admin tools in an isolated container.\n- Container-Optimized OS does not support execution of non-containerized applications.\n- The Container-Optimized OS kernel is locked down; you'll be unable to install third-party kernel modules or drivers.\n- Container-Optimized OS is not supported outside of the Google Cloud Platform environment.\n\nUsing Container-Optimized OS\n----------------------------\n\nContainer-Optimized OS is the default node OS Image in [Kubernetes Engine](/kubernetes-engine) and\nother [Kubernetes](https://kubernetes.io/) deployments on Google Cloud Platform. See the [Kubernetes\nEngine Quickstart](/kubernetes-engine/docs/deploy-app-cluster) for more information on using Container-Optimized OS with\nKubernetes Engine.\n\nYou can also use Container-Optimized OS to quickly bring up a container\non a Compute Engine instance with minimal setup. For more information, see\n[Creating and Configuring Instances](/container-optimized-os/docs/how-to/create-configure-instance).\n\nYou can run tools like `ping`, the Google Cloud CLI, `pstree`, `htop`,\n`emacs` and more using the [CoreOS toolbox](/container-optimized-os/docs/how-to/toolbox) utility, which is pre-installed in\nContainer-Optimized OS at `/usr/bin/toolbox`. See [Debugging with toolbox](/container-optimized-os/docs/how-to/toolbox) for\nmore information.\n\nUse cases for Container-Optimized OS\n------------------------------------\n\nContainer-Optimized OS can be used to run most containers. You should\nconsider using Container-Optimized OS as the operating system for your\nCompute Engine instance if you have the following needs:\n\n- You need support for containers or Kubernetes with minimal setup.\n- You need an operating system that has a small footprint and is [security\n hardened](/container-optimized-os/docs/concepts/security) for containers.\n- You need an operating system that is tested and verified for running Kubernetes on your Compute Engine instances.\n\nContainer-Optimized OS may not be the right choice for you in the following\ncases:\n\n- Your application is not containerized or your containerized application depends on kernel modules, drivers and other additional packages that are not available in Container-Optimized OS.\n- You need professional customer support from a Linux provider (Canonical, Core OS, Redhat, SUSE, etc).\n- You want your image and OS application to be fully supported outside Google Cloud.\n\nSee [Containers on Google Cloud](/compute/docs/containers) to learn about\nother operating systems you can use to\nrun containerized applications on Google Cloud. Compute Engine\n[provides images](/compute/docs/images) for other popular operating systems, including images that are\n[optimized for containers](/compute/docs/containers#container_images)."]]