docker run --rm -u `id -u`:`id -g` \ -v $PWD:/work ubuntu:latest touch /work/uid1000gid1000.txt docker run ããã¨ãã« UID, GIDãæå®ãã ãã«ãã¦ã¼ã¶ã¼ãæ³å®ãã¦ãã³ã³ãããåããã¨ãã«ã¦ã¼ã¶ã¼ã®IDãæå®ããããã§ãã³ã³ããå ã®ã³ãã³ããå®è¡ã§ããã®ããæå ã®ç°å¢ docker 1.6.0 ã§ç¢ºèªãã¦ã¿ãã ãªãã£ã·ã£ã«ã®ããã¥ã¡ã³ãã«ãã㨠Docker Docs Dockerfileã®ä¸ã«è¨è¿°ããã®ã§ããã°ãUSERã使ããã¨ã§ä»»æã®UIDã§ã³ã³ãããå®è¡ã§ãããã¨ãæ¸ãã¦ãããããã«ã³ãã³ãã©ã¤ã³ããã§ã -u="" ã®å½¢ã§æå®ãããã¨ã§ãã®ãªãã·ã§ã³ãä¸æ¸ããããã¨ãã§ããã ãã ãGIDãæå®ã§ããããã«ã¯ã¿ããªãã£ãã ã³ãã³ãã©ã¤ã³ã®ãã«ãã§ç¢ºèªãã 以ä¸ã®ã³
{{#tags}}- {{label}}
{{/tags}}