Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker-compose version error. odroid-xu4

Featured Replies

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

  • Author
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?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.