Erreur Docker-compose pull

Bonjour a tous

j’ essaye d’installer fabmanager sur ubuntu 14. 04 serveurLTS en production mais je rencontre les erreurs ci dessous au moment ou j’ execute Docker-compose pull.

en premier :

ERROR: yaml.scanner.ScannerError: mapping values are not allowed here
in « ./docker-compose.yml », line 1030, column 107
ca corresponds au " ; "

puis ensuite :

ERROR: Top level object in ‹ ./docker-compose.yml › needs to be an object not ‹ <type ‹ unicode ›> ›

pourriez vous m’apporter votre aide

la commande « sudo docker info » renvoi

Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 1
Server Version: 17.09.0-ce
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 3
Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: 949e6fa
Security Options:
apparmor
Kernel Version: 3.13.0-32-generic
Operating System: Ubuntu 14.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 3
Total Memory: 10.71GiB
Name: fabmanager
ID: ZEJ7:NXL7:ALDT:PNMV:3Z6R:HXJ2:QM4B:D5WH:YMIW:NSST:QPDZ:34C6
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
adminsabre@fabmanager:/apps/fabmanager$

merci pour votre aide

I hope it’s ok to chime in here instead of opening a new thread. I am facing a similar issue with the OP fredrive:

root@atom:/apps/fabmanager# docker-compose pull ERROR: yaml.scanner.ScannerError: mapping values are not allowed here in "./docker-compose.yml", line 318, column 24

I’m trying to get fab-manager installed on a self-hosted ubuntu server:

root@atom:/apps/fabmanager# uname -a Linux atom 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

root@atom:/apps/fabmanager# docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 17.09.1-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.10.0-42-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.942GiB
Name: atom
ID: DCO6:J2OS:Q4YS:OKGA:JMFJ:5FKJ:CZN3:6KAV:TSIJ:B7AG:KF27:REPZ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support

root@atom:/apps/fabmanager# docker-compose version docker-compose version 1.18.0, build 8dd22a9 docker-py version: 2.6.1 CPython version: 2.7.13 OpenSSL version: OpenSSL 1.0.1t 3 May 2016

Hello, bonjour à tous les deux.

Pouvez-vous poster ici le contenu de votre fichier docker-compose.yml ?
Can you post here the content of your docker-compose.yml file?

Bonjour Sylvain

merci pour ta réponse .

en suivant la procédure « Install Fabmanager app in production with Docker » décrite sur GitHub , et plus précisément la commande « \curl -sSL https://raw.githubusercontent.com/LaCasemate/fab-manager/master/docker/setup.sh | bash ». effectue le téléchargement d’un docker-compose.yml. de plus de 1200 lignes comprenant du code html.

en téléchargeant la dernière version 2.6.2 et en copiant le fichier inclus dans le dossier « Docker » il s’execute sans erreur

pour ma part, le ticket est clos

je te remercie encore pour ton aide

Hello Sylvain,

Just like fredrive I was using the script as described here: https://github.com/LaCasemate/fab-manager/blob/master/docker/README.md:

\curl -sSL https://raw.githubusercontent.com/LaCasemate/fab-manager/master/docker/setup.sh | bash

and that brings:

root@atom:/apps/fabmanager# tree
.
├── docker-compose.yml
└── example
    ├── env.example
    ├── nginx.conf.example
    ├── nginx_with_ssl.conf.example
    └── webroot.ini.example

1 directory, 5 files

the problem seems to be that the contents of the docker-compose.yml seem to be wrong: <!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8"> <link - Pastebin.com

However, if I manually pull the docker-compose.yml file from fab-manager/docker at master · sleede/fab-manager · GitHub then docker-compose pull works.

So this topic is solved for me too although I have not managed to get a production docker working yet. I’ll probably ask for your help in a separate thread.

Thank you

Hello and happy new year to both of you,
There was a mistake in the setup script. This was fixed in the dev branch and a new production release containing the fix will be released soon.
Thanks for noticing it.

1 « J'aime »