Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • USER: The container user name
  • GROUP: The container user group
  • USER_ID: Id of local user executing docker instance
  • GROUP_ID: Group id from local user executing docker instance
  • ALMA_DIR: Path that has all the directories that will be mounted as /alma in the container, for instance in my examples is '/external/docker/'
    • Inside this directory there's a set of directories for each OS, each will be mounted as /alma for the different images/containers. For instance '/external/docker/centos7' will be mounted as /alma in centos7 containers
  • HOME_DIR: Path that will be mounted as the /home/$USER directory in the machine. The $HOME_DIR/$CONTAINER_OS will be mapped in the container to /home/almamgr with the default configuration
  • REPO_DIR: Path to the Git Repository. In my case inside this path (/external/Repos) I have 'almasw' and 'worktrees', which allow to have several worktrees for building without affecting other parts of the system
  • CONTAINER_OS: Here I define the default OS to be used. This can be overridden on command line if other OS is going to be used, but the default one should be defined here

...