Created
January 31, 2022 23:33
-
-
Save marucjmar/aa525b0a6a7fb3f5b54c445cb8af7324 to your computer and use it in GitHub Desktop.
Docker on runit (artix Linux)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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