How to Build a Docker Image

Inside Docker image process, the user sag is created. This user requires a valid user ID and group ID. The default user ID is used to create files in the persistence volume located at /data.

Adabas container and log files are used to be stored in the persistence volume. You have to specify the default user ID and password during image creation. It is possible to overwrite user IDs using the docker run --user <user id> option.

The Docker image can be built by entering:

docker build --build-arg sag_user_id=1234 --build-arg group_id=1234 --tag
adabas:6.7