Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing version issue when trying to run docker-compose deploy script #70

Open
LakshmipriyaPurushan opened this issue Dec 19, 2022 · 0 comments

Comments

@LakshmipriyaPurushan
Copy link

LakshmipriyaPurushan commented Dec 19, 2022

Hi ,
We are setting up WEBPA using docker-compose using the steps mentioned from https://github.com/xmidt-org/xmidt/tree/master/deploy/docker-compose.

When running the script, facing the below error.
``deploy/docker-compose/deploy.sh scytale talaria
~/webpa/WEBPA_DOCKER/xmidt ~/webpa/WEBPA_DOCKER/xmidt
Building Simulator...
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=xmidt%2Fsimulator%3Alatest&target=&ulimits=null&version=1": dial unix /var/run/docker.sock: connect: permission denied
~/webpa/WEBPA_DOCKER/xmidt
Running services...
ERROR: Version in "webpa/WEBPA_DOCKER/xmidt/deploy/docker-compose/../..//deploy/docker-compose/docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
~/webpa/WEBPA_DOCKER/xmidt$ sudo deploy/docker-compose/deploy.sh scytale talaria

Could you please help us on this issue.

Docker compose yaml file is having the version 3.8. Is there any version restriction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant