[
https://issues.apache.org/jira/browse/FLINK-19562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Weise updated FLINK-19562:
---------------------------------
Fix Version/s: (was: 1.14.3)
> the /flink/docs/docker/run.sh cause an error with numeric username
> ------------------------------------------------------------------
>
> Key: FLINK-19562
> URL: https://issues.apache.org/jira/browse/FLINK-19562
> Project: Flink
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 1.11.2
> Reporter: shizhengchao
> Priority: Minor
> Fix For: 1.15.0
>
>
> if the user of the OS is a number, run the script and report an error:
> {code:java}
> groupadd: '002117' is not a valid group name
> {code}
> if the user of the OS is english, will be ok, like this:
> {code:java}
> if [ "$(uname -s)" == "Linux" ]; then
> USER_NAME=${SUDO_USER:=$USER}
> USER_ID=$(id -u "${USER_NAME}")
> GROUP_ID=$(id -g "${USER_NAME}")
> else # boot2docker uid and gid
> USER_NAME='mwopr'
> USER_ID=1000
> GROUP_ID=50
> fi
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)