Why Run Containers in the Cloud with gVisor? (Docker/Kubernetes)

Photo by Matthew Henry on Unsplash
root@main:~# docker run -dit --name=weak ubuntu
633da546cf70b5f54ca1e36217a953936b35e1011a71de0063187d540592dbb1
root@main:~# docker run --runtime=runsc -dit --name=strong ubuntu
236fb10ff50f41c0d45b21ebc1ab085d463a86a21d7af3e4c21c23721120ac1a
#include <stdio.h>
#include <sys/sysinfo.h>
// @ Author: adilint main(void)
{
struct sysinfo si;
sysinfo(&si);
printf("Uptime: %lu\n", si.uptime);
printf("Loads: %lu\n", si.loads[0]);
printf("Ram: %lu\n", si.totalram);
printf("Free Ram: %lu\n", si.freeram);
printf("Shared Ram: %lu\n", si.sharedram);
printf("Buffer Ram: %lu\n", si.bufferram);
printf("Swap: %lu\n", si.totalswap);
printf("Free Swap: %lu\n", si.freeswap);
printf("process count: %d\n", si.procs);
return 0;
}

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

“No-code:” Every Developer’s Sworn Enemy?

AN INTERESTING TOOL I ENJOYED USING WHEN PREPARING FOR BOOT CAMP.

I grabbed a Twitter handle and tweeted my intention.

Read more about Laravel where function query

“Mom I need more money to buy a CUDA enabled GPU!”​

Azure Data Factory — Loading files into Google Cloud Storage and Amazon S3

couchdrop sftp cloud ftp

Advancing my career in Software development with SkaeHub Developer Program

Windows 11 on an M1 Mac

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
adil

adil

More from Medium

OPA Gatekeeper Library example allow image pull policy

Integrating AWS Secret Manager with EKS and use Secrets inside the Pods: Part-1

Run containers securely with gVisor on EKS

Overcoming Node failure for pods which can run only one replica on K8s