diff --git a/README.md b/README.md index 3fc039e..1ff6f71 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Usage ----- - Define users as last arguments to `docker run`, one user per argument - (syntax: `user:[pass[:e]][:[uid][:gid]]`). + (syntax: `user:pass[:e][:[uid][:gid]]`). - You must set custom UID for your users if you want them to make changes to your mounted volumes with permissions matching your host filesystem. - Mount volumes in user's home folder. diff --git a/run b/run index ffe45f9..ea281ab 100644 --- a/run +++ b/run @@ -1,7 +1,6 @@ #!/bin/bash for users in "$@"; do - # user:[pass[:e]][:[uid][:gid]] IFS=':' read -a data <<< "$users" user="${data[0]}" pass="${data[1]}"