Last active
November 29, 2016 14:47
-
-
Save acro5piano/f4faa549905c8f2ca77f02a6b1dd9d9f to your computer and use it in GitHub Desktop.
Dockerで実行ユーザーとグループを指定する ref: http://qiita.com/acro5piano/items/8cd987253cb205cefbb5
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
web: | |
image: debian | |
user: "${UID}:${GID}" |
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
USER 1000:1000 |
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
export UID=${UID} | |
export GID=${GID} | |
docker-compose up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment