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 3.1(swarm), secrets, ssl and nginx
What is the version directive for?
How to run docker-compose up -d at system start up?
In Docker Compose can I have services exiting
Docker compose - secrets Additional property secrets is not allowed
docker-compose mounted volume remain
Should I do anything after upgrading docker-compose?
docker caddy proxy not forwarding
docker share OS volume between services
How dynamic map service name to ENV var
docker-compose v3 services on several networks
URL for cloudant on docker compose
Apache Metron Docker Compose Start Up Error
Apache Metron Docker Compose Start Up Error (Repost)
How to only restart one service in docker
Docker gem therubyracer error installation in ruby container

Categories

HOME
logging
skype-for-business
ide
popover
query-string
mailchimp
confluence-rest-api
sugarcrm
gnuradio
cdn
doctrine2
apache-httpclient-4.x
urllib2
ofbiz
airbnb
beaker-notebook
procedural-generation
rvm
prepros
advertising
suitescript
inspec
rollupjs
selenium3
choco
favorites
imageprocessor
asp.net-webhooks
azure-vm-scale-set
java-5
vpython
rexx
taiga
f#-fake
gradlew
taleo
amazon-fire-tv
text-formatting
confluent
riemann
selection-sort
multi-select
scrollmagic
acceleo
suitesparse
group
google-scholar
portaudio
glade
dbi
objectify
vitamio
avi
audiorecord
window.location
apache2-module
random-sample
notice
chunks
launcher
fxmlloader
system.io.packaging
apache-pivot
ant-contrib
reactjs-native
cvi
android-jack-and-jill
codio
dynamic-expresso
backbone-views
mosix
nsautoreleasepool
gwt2
libx264
expresso-store
custom-cursor
waveout
certificate-revocation
android-memory
ios6-maps
django-1.4
inserthtml
code-organization
functional-specifications
for-xml
web-search
lts
pkcs#7
dojox.gfx

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