Selaa lähdekoodia

Add install instructions for update_libseccomp for outdated Pi OS installs.

Robert Middleswarth 3 vuotta sitten
vanhempi
commit
16c90cd167
2 muutettua tiedostoa jossa 24 lisäystä ja 0 poistoa
  1. 17 0
      docs/README.md
  2. 7 0
      update_libseccomp.sh

+ 17 - 0
docs/README.md

@@ -12,8 +12,25 @@ Run `install-docker.sh`, to install docker, and add the current user to the dock
 ```
 wget -qO- https://git.io/JwUkc | bash
 # need to reboot/logout for changes to take effect
+```
+
+### Pi OS
+Currently Pi OS is running an old version of libseccomp that is causing problems with many containers from running to fix this we need to manually install a newer version of libseccomp.  To check and see if you are running an older version please run sudo dpkg-query -W libseccomp.
+```
+sudo dpkg-query -W libseccomp
+```
+If you are running a version less that 2.5 you need to run the upgrade script update_libseccomp.sh.
+
+```
+./update_libseccomp.sh
+```
+
+# Reboot for changes to take effect
+
+```
 sudo reboot
 ```
+
 After a reboot, run `install-portainer.sh`, to install Portainer.io
 ```
 wget -qO- https://git.io/JwUnf | bash

+ 7 - 0
update_libseccomp.sh

@@ -0,0 +1,7 @@
+#!/bin/bash
+echo "Libseccomp upgrade needed if you run rpi 32bit. Check version dpkg-query -W libseccomp, if the version 2.3 or blow, please run this script."
+cd ~
+wget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.2-2_armhf.deb
+sudo dpkg -i libseccomp2_2.5.2-2_armhf.deb
+rm -f libseccomp2_2.5.2-2_armhf.deb
+echo "Updating the libseccomp file is complete."