Running IBM Mono2Micro as non-root user
You can run the IBM® Mono2Micro™ product as a non-root user. Use the --user option with the IBM Mono2Micro command line tool to specify the non-root user.
To run the tools with a specific user, use the --user = <user_id> option
with a mono2micro command. The product defaults to root.
- Add the user to the docker group so that the user has permission to write into the folder that
is used in the command.
The following Docker command shows a Linux® example.
sudo usermod -aG docker <userid>For Podman, use podman instead of docker in the command.
sudo usermod -aG podman <userid> - Get the user ID.
For example, to get the user ID in Linux, run the id command with the -u parameter.
id -u <user>