Skip to content

Instantly share code, notes, and snippets.

@tiborvass
Last active May 15, 2019 06:33
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tiborvass/de107d9cc69bdaabef1c5c73df2be54d to your computer and use it in GitHub Desktop.
Save tiborvass/de107d9cc69bdaabef1c5c73df2be54d to your computer and use it in GitHub Desktop.
#!/bin/bash
useradd -s /bin/bash -m unprivileged
cp -rf ~/.ssh ~unprivileged/
chown -R unprivileged:unprivileged ~unprivileged/.ssh/
curl -O -sSL https://raw.githubusercontent.com/tonistiigi/docker-install/rootless/rootless-install.sh
sh -x rootless-install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment