rkt is an integral part of CoreOS, installed with the operating system. The CoreOS releases page lists the version of rkt available in each CoreOS release channel.
If the version of rkt included in CoreOS is too old, it's fairly trivial to fetch the desired version via a systemd unit
rkt is packaged in the development version of Fedora, Rawhide:
sudo dnf install rkt
Until the rkt package makes its way into the general Fedora releases, download the latest rkt directly from the project.
rkt's entry in the Fedora package database tracks packaging work for this distribution.
rkt can integrate with SELinux on Fedora but in a limited way. This has the following caveats:
- running as systemd service restricted (see #2322)
- access to host volumes restricted (see #2325)
- socket activation restricted (see #2326)
- metadata service restricted (see #1978)
As a workaround, SELinux can be temporarily disabled:
sudo setenforce Permissive
Or permanently disabled by editing /etc/selinux/config
:
SELINUX=permissive
Fedora uses firewalld to dynamically define firewall zones. rkt is not yet fully integrated with firewalld. The default firewalld rules may interfere with the network connectivity of rkt pods. To work around this, add a firewalld rule to allow pod traffic:
sudo firewall-cmd --add-source=172.16.28.0/24 --zone=trusted
172.16.28.0/24 is the subnet of the default pod network. The command must be adapted when rkt is configured to use a different network with a different subnet.
rkt is available in the Community Repository and can be installed using pacman:
sudo pacman -S rkt
rkt can be installed on NixOS using the following command:
nix-env -iA rkt
The source for the rkt.nix expression can be found on GitHub
rkt is available in the official binary packages for the Void Linux distribution. The source for these packages is hosted on GitHub.