Skip to content

Instantly share code, notes, and snippets.

Created Dec 5, 2018
What would you like to do?
ChromeOS Docker

fix docker in chromeos: First up, make containerd start correctly:

sudo vim /lib/systemd/system/containerd.service

Comment out:

ExecStartPre=/sbin/modprobe overlay

Re-compile runc (path has made it upstream, but isn't released yet):

sudo apt-get install golang libseccomp-dev
go get
export GOPATH=~/go
cd ~/go/src/
sudo cp runc /usr/local/bin/runc-chromeos

Tell docker to use new runc:

sudo vim /etc/docker/docker.json

    "runtimes:" {
        "runc-chromeos" {
            "path" : "/usr/local/bin/runc-chromeos"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment