Compose: 1.17.0 broke docker-compose up

Created on 7 Nov 2017  路  6Comments  路  Source: docker/compose

The latest update to 1.17.0 suddenly broke our normal docker-compose up. No other changes have been made to the compose file or the system. Reverting back to 1.16.1 fixes everything.

Sample output of the 1.17.0 failure:

Creating elasticsearch ... 

ERROR: for elasticsearch  dictionary update sequence element #0 has length 39; 2 is required

ERROR: for elasticsearch  dictionary update sequence element #0 has length 39; 2 is required
Traceback (most recent call last):
  File "bin/docker-compose", line 6, in <module>
  File "compose/cli/main.py", line 68, in main
  File "compose/cli/main.py", line 121, in perform_command
  File "compose/cli/main.py", line 952, in up
  File "compose/project.py", line 455, in up
  File "compose/parallel.py", line 70, in parallel_execute
ValueError: dictionary update sequence element #0 has length 39; 2 is required
Failed to execute script docker-compose

Most helpful comment

Hi,

Thanks but what can we do if label have no equal sign in it ?

    labels:
        - com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy

All 6 comments

Can you post an example docker-compose file that you have this issue with?

Duplicate of #5336

You might want to use the dictionary notation for container labels in the meantime, and stay tuned for the 1.17.1 release later this week.

Gotcha. Thank you! @shin- when did this change? If I change our notation to dictionary, will dictionary notation alone break older versions of Docker Compose?

@delmartechdude No, both notations were always supported, so it'll be backwards compatible. The list notation mostly exists because it's easier to translate to it from the Docker CLI flags.

Ah awesome. Thank you so much! @shin-

Hi,

Thanks but what can we do if label have no equal sign in it ?

    labels:
        - com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
Was this page helpful?
0 / 5 - 0 ratings

Related issues

dimsav picture dimsav  路  3Comments

bergtwvd picture bergtwvd  路  3Comments

davidbarratt picture davidbarratt  路  3Comments

HackerWilson picture HackerWilson  路  3Comments

29e7e280-0d1c-4bba-98fe-f7cd3ca7500a picture 29e7e280-0d1c-4bba-98fe-f7cd3ca7500a  路  3Comments