Skip to content

Instantly share code, notes, and snippets.

View Cian911's full-sized avatar
🔥
On Fire

Cian Gallagher Cian911

🔥
On Fire
View GitHub Profile
@Cian911
Cian911 / raspberry-pi-run-in-non-privileged-mode.sh
Last active October 22, 2023 11:31
This is a small script that can be run when encountering privilege issues when running Docker containers on a raspberry pi. This gist compiles and updates `libseccomp.so` lib. This should allow your containers to be run on a raspberry Pi without the `--privileged` flag.
cd ~
sudo apt install build-essential git gperf -y
wget https://github.com/seccomp/libseccomp/releases/download/v2.5.1/libseccomp-2.5.1.tar.gz && tar zvxf libseccomp-2.5.1.tar.gz
cd libseccomp-2.5.1
./configure && make
sudo make install
mkdir -p libsec-bak
@Cian911
Cian911 / keybase.md
Created July 27, 2021 14:21
Keybase

Keybase proof

I hereby claim:

  • I am cian911 on github.
  • I am cian912 (https://keybase.io/cian912) on keybase.
  • I have a public key ASDes7S2pPKdLR6uaBXSU5zMiKagXzXSdbsq5UR1sEKEXgo

To claim this, I am signing this object:

@Cian911
Cian911 / docker-pry-rails.md
Created July 15, 2019 15:34 — forked from briankung/docker-pry-rails.md
Using pry-rails with Docker

First, add pry-rails to your Gemfile:
https://github.com/rweng/pry-rails

gem 'pry-rails', group: :development

Then you'll want to rebuild your Docker container to install the gems