Skip to content

Instantly share code, notes, and snippets.

View ebr's full-sized avatar
⌨️
1 person is typing

Eugene Brodsky ebr

⌨️
1 person is typing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ebr on github.
  • I am brodsky (https://keybase.io/brodsky) on keybase.
  • I have a public key ASAaX5nSkiqxxwE0i-G9zgcAwYS9e1nU_0a15CeY3wmOuwo

To claim this, I am signing this object:

@ebr
ebr / zfs-for-docker.sh
Created May 8, 2017 18:28
ZFS zpool for docker
#!/bin/bash
## This will only work on Ubuntu 16.04 and up
DEVNAME=/dev/xvdg
# Install ZFS if we don't have it
if [[ -z $(which zfs) ]]; then
apt -y update
apt -y install zfs
@ebr
ebr / gist:167eb13ef8a5276312680c73dfd3e25c
Last active March 24, 2023 15:25
quickstart docker + nvidia on ubuntu
#!/bin/bash
sudo apt update
sudo apt-get install -y ca-certificates curl gnupg lsb-release
sudo mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo usermod -aG docker ubuntu
cat <<EOF | sudo tee /etc/docker/config.json
{