ogcm fails to connect to docker engine
As the tool looks amazing I was tempted to test it on my system (Ubuntu 22.04 LTS, python 3.10.4, Docker 20.10.17 build 100c701).
The following error is returned although docker seems to work correctly (docker hello-worl works just fine).
@bilke: Do you have any suggestions to fix the issue?
ogscm compiler.py ogs.py --build Evaluating compiler.py Evaluating ogs.py Created definition /home/bathmann/Documents/AGBerger/code/pyMANGA/test/LargeTests/Test_Setups_large/ogs_example_setup/_out/docker/gcc/default/ogs-8ddbe8d4/system/Dockerfile Running: DOCKER_BUILDKIT=1 docker build --platform linux/amd64 -t registry.opengeosys.org/ogs/ogs/gcc-default-ogs-8ddbe8d4-system-dev:latest -f _out/docker/gcc/default/ogs-8ddbe8d4/system/Dockerfile . failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied Traceback (most recent call last): File "/home/bathmann/.local/bin/ogscm", line 8, in <module> sys.exit(main()) File "/home/bathmann/.local/lib/python3.10/site-packages/ogscm/cli.py", line 329, in main b.build() File "/home/bathmann/.local/lib/python3.10/site-packages/ogscm/app/builder.py", line 24, in build self.build_docker() File "/home/bathmann/.local/lib/python3.10/site-packages/ogscm/app/builder.py", line 48, in build_docker subprocess.run(build_cmd, shell=True, check=True) File "/usr/lib/python3.10/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'DOCKER_BUILDKIT=1 docker build --platform linux/amd64 -t registry.opengeosys.org/ogs/ogs/gcc-default-ogs-8ddbe8d4-system-dev:latest -f _out/docker/gcc/default/ogs-8ddbe8d4/system/Dockerfile .' returned non-zero exit status 1.