Skip to content

Instantly share code, notes, and snippets.

@devinceble
Last active August 29, 2015 14:21
Show Gist options
  • Save devinceble/e83c056d0969c64574f4 to your computer and use it in GitHub Desktop.
Save devinceble/e83c056d0969c64574f4 to your computer and use it in GitHub Desktop.
Adding User on Docker Container
apt-get -y install python-software-properties
apt-get -y install software-properties-common
adduser --disabled-password --gecos '' __username__
adduser __username__ sudo
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment