storms Posted April 19, 2019 Posted April 19, 2019 Hey guys so i'm trying to setup docker-compose with version 3.7, the problem is it seems it doesnt like version 3 at all! docker compose file: i have the ports set up, here appears as XXXX but i have 9000:9000 on the compose file Spoiler version : "3.7" services: portainer: image: portainer/portainer container_name: portainer restart: always command: -H unix:///var/run/docker.sock ports: - "XXXX:9000" volumes: - /var/run/docker.sock:/var/run/docker.sock - ${USERDIR}/docker/portainer/data:/data - ${USERDIR}/docker/shared:/shared environment: - TZ=${TZ} docker-compose --version docker-compose version 1.8.0, build unknown docker --version Docker version 18.09.5, build e8ff056 uname -a Linux core 4.14.94-odroidxu4 #14 SMP PREEMPT Fri Feb 8 11:14:13 CET 2019 armv7l GNU/Linux Processor: ODROID-XU4 Distribution: Debian GNU/Linux 9 (stretch) Kernel version: Linux 4.14.94-odroidxu4 armv7l Firmware: #14 Package(s): 0 upgradable(s) i installed docker with the armbian-config and installed docker compose with " sudo apt install docker-compose" error: docker-compose up -d 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 version of "2" (or "2.0") 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/ let me know if you need any more info, sorry if i missed something. thanks for the help
Igor Posted April 19, 2019 Posted April 19, 2019 I am wondering what has this to do with Armbian? Is there any dependency missing?
storms Posted April 20, 2019 Author Posted April 20, 2019 20 hours ago, Igor said: I am wondering what has this to do with Armbian? Is there any dependency missing? hello! not sure, i had the offical ubuntu arm version from odroid before installing armbian and i was able to install docker-compose without problems. but i will keep diging. edit: i was able to install it and confirm it is working following this: https://www.berthon.eu/2019/revisiting-getting-docker-compose-on-raspberry-pi-arm-the-easy-way/ so it appears its not an armbian problem...i think? case closed! edit edit! where would be the best place to give this info so that a fix could be made? it appears the docker-compose official team dont have plans to add it to arm. so, debian repos people?
Recommended Posts