Skip to content

Instantly share code, notes, and snippets.

@brentley
Last active January 29, 2019 21:01
Show Gist options
  • Save brentley/32fce0f13eb0336cdf63a5de7afc4ea6 to your computer and use it in GitHub Desktop.
Save brentley/32fce0f13eb0336cdf63a5de7afc4ea6 to your computer and use it in GitHub Desktop.

the first part needs to be done in a crosh shell after enabling linux in chrome settings.

(Note: I didn't do this after my most recent powerwash... the crosh commands may be unnecessary now)

ctrl-alt-t to get a crosh shell

crosh> vmc start termina
lxc profile unset default security.syscalls.blacklist
lxc profile apply penguin default
lxc restart --force penguin

run terminal to start the penguin container

configure penguin terminal

sudo apt-get update
    
sudo apt-get -y install \
     apt-transport-https \
     ca-certificates \
     curl \
     gnupg2 \
     software-properties-common
    
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"

sudo apt-get update

sudo apt-get -y install docker-ce
sudo vim /lib/systemd/system/containerd.service # (comment out execstartpre)
sudo systemctl daemon-reload

sudo service containerd restart

sudo service docker restart

sudo docker run hello-world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment