[fluka-discuss]: UID 0 error when installing FLUKA for docker

From: Wood, Michael H <wood5_at_canisius.edu>
Date: Fri, 11 Jan 2019 14:56:23 +0000

I am having trouble installing fluka docker image. I have been running docker on CENTOS 7 and Mac computers for other projects. I ran the install_linux.sh script on both CENTOS 7 and Mac, and I get the same UID 0 error (see below).

Any help would be greatly appreciated.

Thanks,
Mike

/\/\\-\\/\//\/\\-\\/\//\/\\-\\/\//\/\\-\\/\//\/\\-\\/\//\/\\-\\/\/
Professor/Chair Physics Department
Director Pre-engineering Program
Canisius College
716-888-2426
/\/\\-\\/\//\/\\-\\/\//\/\\-\\/\//\/\\-\\/\//\/\\-\\/\//\/\\-\\/\/


Step 13/19 : ARG UID=1000
 ---> Running in fccb9e576526
 ---> 0a926ce7d984
Removing intermediate container fccb9e576526
Step 14/19 : RUN useradd -u $UID -c 'Fluka User' -m -d /home/fluka -s /bin/bash fluka && mkdir -p /usr/local/fluka && tar -zxf /tmp/fluka*.tar.gz -C /usr/local/fluka && cd /usr/local/fluka; make && cp /tmp/rfluka /usr/local/fluka/flutil/ && chmod 700 /usr/local/fluka/flutil/rfluka && chown -R fluka:fluka /usr/local/fluka && rm -rf /tmp/fluka*.tar.gz /tmp/rfluka && mkdir /docker_work && chown -R fluka:fluka /docker_work && chmod 755 /etc/profile.d/version_installed.sh
 ---> Running in 5ccea66507a1

useradd: UID 0 is not unique
make: *** No targets specified and no makefile found. Stop.

The command '/bin/sh -c useradd -u $UID -c 'Fluka User' -m -d /home/fluka -s /bin/bash fluka && mkdir -p /usr/local/fluka && tar -zxf /tmp/fluka*.tar.gz -C /usr/local/fluka && cd /usr/local/fluka; make && cp /tmp/rfluka /usr/local/fluka/flutil/ && chmod 700 /usr/local/fluka/flutil/rfluka && chown -R fluka:fluka /usr/local/fluka && rm -rf /tmp/fluka*.tar.gz /tmp/rfluka && mkdir /docker_work && chown -R fluka:fluka /docker_work && chmod 755 /etc/profile.d/version_installed.sh' returned a non-zero code: 2

ERROR: Failed to install Fluka. See the troubleshooting part of the user guide.




__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Jan 11 2019 - 17:20:13 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 11 2019 - 17:20:15 CET