Skip to content

Instantly share code, notes, and snippets.

@harmishhk
Created March 25, 2017 11:51
Show Gist options
  • Save harmishhk/afbc73a64306ed5695678efa38320889 to your computer and use it in GitHub Desktop.
Save harmishhk/afbc73a64306ed5695678efa38320889 to your computer and use it in GitHub Desktop.
Configure docker user-namespacing with LDAP

For Ubuntu 14.04.x Add --userns-remap={username}:{groupname} somewhere in DOCKER_OPTS in /etc/default/docker file. Add a new line with {username}:{userid}:65536 in /etc/subuid file. Add a new line with {groupname}:{groupid}:65536 in /etc/subuid file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment