docker-compose


How to solve this docker-compose upgrading error?


I am trying to upgrade docker-compose from
docker-compose version 1.5.2, build unknown
To docker-compose above 1.7.x using this Upgrading instructions (Under Upgrading section).
Upgrade instruction followed:
docker-compose migrate-to-labels
I get following error
- ERROR: In file './docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.
The docker-compose.yml file I am using is
version: '2'
services:
dockerapp:
build: .
ports:
- "5000:5000"
volumes:
- ./app:/app
redis:
image: redis:3.2.0

Related Links

docker-compose build image parameters --force-rm --pull
linking 2 containers through docker compose
Files created by manage.py commands not chown'd from root user
Is it possible to create an intermediate image within docker-compose?
docker-compose service listen on specified interface
Does Docker-Compose allow overwriting of ports when using extends?
Jhipster Docker-compose conflict
Build multiple images with Docker Compose?
JHipster Cassandra Docker Build
Defining project name inside docker-compose configuration
Docker-compose named mounted volume
cannot ping linked docker container service
How to do variable substitution in env_file?
How to create stack in tutum with docker-compose.yml file?
ecs-cli docker compose version
dynamic link update in docker-compose

Categories

HOME
gcc
twitter-bootstrap
python-requests
bigtable
reference
spss
confluence-rest-api
comments
liquidsoap
python-3.4
handlebars.js
select2
wowza
oxid
opendaylight
md2
audio-streaming
bootstrap-datetimepicker
git-branch
polybase
vala
lotusscript
ithit-webdav-server
pixels
angular-schema-form
units-of-measurement
restangular
choco
mootools
sampling
abide
kepserverex
oracle-bpm-suite
vertical-alignment
ape-phylo
python-venv
gridgain
encoder
serverless-architecture
denodo
photoshop-script
reloaddata
ios-keyboard-extension
fileopendialog
portaudio
easy68k
symantec
dbi
networkstream
diameter-protocol
shtml
javapackager
adempiere
traminer
veeam
crtdbg.h
go-gin
xmlserializer
windows-search
behance-api
twitter-finagle
yandex-api
email-headers
mongoid4
xtify
google-oauth-java-client
sygic
oc4j
extensibility
jython-2.5
stringstream
mosix
dd4t
reference-manual
dnsbl
orchestration
hypertable
github-archive
pinchzoom
nsundomanager
clgeocoder
execjs
mismatch
excellibrary
llblgen
virtual-destructor
subdirectories
web-widget
datadude
user-preferences
scalable

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App