Trouble Running Iris using Docker in Linux
Hi all, I am having problems trying to get Docker to run correctly on my Linux Mint machine.
I did the following:
1. Installed Docker.
docker --version
Docker version 19.03.6, build 369ce74a3c
docker-compose -v
docker-compose version 1.17.1, build unknown
2. Downloaded zip from https://github.com/intersystems-community/iris-fullstack-template/tree/42f9c174a9a4e63cb5eb3eb646abf3930a6e4d31
and unzipped it
3. Entered the following command:
docker-compose up -d
This generated the following error:
ERROR: Version in "./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/
Following the suggestion in the error message, I modified docker-compose.yml, changing version "3.6" to version "3.3"
docker-compose up -d
That still failed:
root 1701 1 0 09:19 ? 00:00:03 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
marlin 11391 11244 0 10:32 ? 00:00:00 /usr/share/code/code /home/marlin/.vscode/extensions/ms-azuretools.vscode-docker-1.6.0/dist/dockerfile-language-server-nodejs/lib/server.js --node-ipc --node-ipc --clientProcessId=11244
Any suggestion on what to do to get it working? Thanks!
Marlin Mixon
Update compose to to the latest version (docs) and try to run original docker-compose.yml (with 3.6).