Container – Id is shown as 2000

I installed Oracle Container using the image: oracleinanutshell/oracle-xe-11g:latest – on a Linux machine.
While doing, I copied one .sql file into /docker-entrypoint-initdb.d using "volumes" as shown below:

    - ./sql:/docker-entrypoint-initdb.d

After the container was created, when logged into container, the Owner for the folder "docker-entrypoint-initdb.d" is shown as "2000".
When verified for user with the ID, nothing is shown.

User ID shown as 2000

Any suggestion about who is the user with ID as 2000?
And what is the reason for this – Thanks for the help!

Asked By: user3055964


Using volumes mounts a location from the host within a container.

This means the permissions would be relative to the host the container is running on.

If you check the ./sql location on the host, and the host’s user list, you will probably be able to discover a user with ID 2000

Answered By: GracefulRestart
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.