Skip to content

Instantly share code, notes, and snippets.

@marucjmar
Created January 31, 2022 23:33
Show Gist options
  • Save marucjmar/aa525b0a6a7fb3f5b54c445cb8af7324 to your computer and use it in GitHub Desktop.
Save marucjmar/aa525b0a6a7fb3f5b54c445cb8af7324 to your computer and use it in GitHub Desktop.
Docker on runit (artix Linux)
chmod +x ./runit
mkdir /etc/runit/sv/docker
mv ./runit /etc/runit/sv/docker
ln -s /etc/runit/sv/docker /run/runit/service
sv start docker
#!/bin/sh -e
[ -r conf ] && . ./conf
exec 2>&1
exec /usr/bin/dockerd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment