How To Install golang-gvisor on Fedora 36
Introduction
In this tutorial we learn how to install golang-gvisor
on Fedora 36.
What is golang-gvisor
gVisor is an open-source, OCI-compatible sandbox runtime that provides a virtualized container environment. It runs containers with a new user-space kernel, delivering a low overhead container security solution for high-density applications. gVisor integrates with Docker, containerd and Kubernetes, making it easier to improve the security isolation of your containers while still using familiar tooling. Additionally, gVisor supports a variety of underlying mechanisms for intercepting application calls, allowing it to run in diverse host environments, including cloud-hosted virtual machines.
We can use yum
or dnf
to install golang-gvisor
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-gvisor.
Install golang-gvisor on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install golang-gvisor
using dnf
by running the following command:
sudo dnf -y install golang-gvisor
Install golang-gvisor on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install golang-gvisor
using yum
by running the following command:
sudo yum -y install golang-gvisor
How To Uninstall golang-gvisor on Fedora 36
To uninstall only the golang-gvisor
package we can use the following command:
sudo dnf remove golang-gvisor
golang-gvisor Package Contents on Fedora 36
/usr/bin/runsc
/usr/lib/.build-id
/usr/lib/.build-id/80
/usr/lib/.build-id/80/79745006754b84faea005076158f9e0eaeb629
/usr/share/doc/golang-gvisor
/usr/share/doc/golang-gvisor/AUTHORS
/usr/share/doc/golang-gvisor/README.md
/usr/share/licenses/golang-gvisor
/usr/share/licenses/golang-gvisor/LICENSE
References
Summary
In this tutorial we learn how to install golang-gvisor
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).