diff options
Diffstat (limited to 'install.sh')
-rw-r--r-- | install.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100644 index 000000000000..de6b6635e70f --- /dev/null +++ b/install.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env sh + +post_install() { + echo '------------------------' + echo '| READ VERY CAREFULLY! |' + echo '------------------------' + echo '1. Make sure to start the sysbox service (systemctl start sysbox)' + echo '' + echo '2. To use sysbox with Docker, add the following to /etc/docker/daemon.json:' + echo '{' + echo ' "runtimes": {' + echo ' "sysbox-runc": {' + echo ' "path": "/usr/bin/sysbox-runc",' + echo ' "runtimeArgs": ["--no-kernel-check"]' + echo ' }' + echo ' }' + echo '}' + echo 'Then restart the docker service (systemctl restart docker)' + echo '' + echo '3. You will need to either install the shiftfs kernel module,' + echo ' or configure Docker in userns-remap mode (see link below)' + echo '' + echo 'Note that Arch Linux is NOT officially supported.' + echo 'For more information, please check:' + echo 'https://github.com/nestybox/sysbox/blob/master/docs/user-guide/troubleshoot.md' +} |