J'ai installé docker-engine
y docker-compose
. Je n'ai qu'une seule installation des deux sur mon système.
$ docker --version
Docker version 1.11.1, build 5604cbe
$ docker-compose --version
docker-compose version 1.7.1, build 0a9ab35
Cependant, lorsque j'essaie d'exécuter docker-compose build
j'ai obtenu cette erreur :
ERROR: The Docker Engine version is less than the minimum required by Compose. Your current project requires a Docker Engine of version 1.10.0 or greater.
Mon docker-compose.yml
est assez simple :
version: '2'
services:
db:
image: postgres:9.4.1
ports:
- "5432:5432"
web:
build: .
command: bin/rails s -e development
ports:
- "3000:3000"
links:
- db
volumes:
- .:/myproject
Je n'ai aucun indice sur ce qui se passe.
UPD : Mon système est Fedora 23. Sortie de docker info
$ docker info
Containers: 9
Running: 0
Paused: 0
Stopped: 9
Images: 83
Server Version: 1.11.1
Storage Driver: devicemapper
Pool Name: docker-8:6-1188585-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: ext4
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 5.935 GB
Data Space Total: 107.4 GB
Data Space Available: 13.71 GB
Metadata Space Used: 6.803 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.141 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.109 (2015-09-22)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null host bridge
Kernel Version: 4.4.9-300.fc23.x86_64
Operating System: Fedora 23 (Workstation Edition)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 5.7 GiB
Name: localhost.localdomain
ID: 22QE:VZIY:26E3:WMVR:FH3Q:VYTS:FPJX:LFJ3:DHPK:EAZZ:ZDHP:56Q3
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/