Created
April 21, 2016 07:10
-
-
Save cnio/749f1846083826b7583e9dfeb98d30ec to your computer and use it in GitHub Desktop.
docker create user in home/
This file contains hidden or 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
| # in dockerfile | |
| RUN useradd -ms /bin/bash new_user_name | |
| # in cli | |
| useradd -ms /bin/bash new_user_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment