docker-compose


Docker compose - secrets Additional property secrets is not allowed


docker-compose --version
docker-compose version 1.11.1, build 7c5d5e4
I have secret 'my_secret_data' added to my swarm cluster:
The start of my compose file looks like:
version: "3.1"
secrets:
my_secret_data:
external: true
services:
master:
image: jenkins-master
secrets:
- my_secret_data
ports:
- "8080:8080"
- "50000:50000"
'docker stack deploy' continually gives the error:
secrets Additional property secrets is not allowed
I have followed how do you manage secret values with docker-compose v3.1? to the letter as far as I can tell and have the correct versions installed but keep getting the above error. Any help greatly appreciated.

Related Links

docker compose environment variable for command
java.net.UnknownHostException: failed to resolve 'inventory-microservice'. Exceeded max queries per resolve 3
What does working_dir tag mean in a docker-compose yml file
If I upgrade an image in docker-compose, will its volumes be lost?
How to solve this docker-compose upgrading error?
Fabric Network - what happens when a downed peer connects back to the network?
Docker-compose and load balancing
Run arguments in Docker Compose
Docker compose file config
Systemd “No such file or directory” itself during “docker-compose up”
Docker compose yml static IP addressing
compose extend file results in a validation error
hubot rocketchat adapter does not work
Docker compose lables constraint:node not work
is it possible to generate a random mysql password with dockercompose
Networking Docker Compose

Categories

HOME
gulp
marie
service
grpc
phantomjs
x86-64
stdout
esxi
confluence-rest-api
phpexcel
normals
browsermob
fastreport
game-engine
amazon-data-pipeline
orange
draw2d
gpo
caldav
datazen-server
pushbullet
infinite-loop
inline-assembly
advertising
pixels
rollupjs
jopendocument
typeclass
units-of-measurement
federated
ipython-parallel
apache-falcon
zimbra
dom4j
cache-control
perf
instances
nsdateformatter
usernotifications
file-conversion
tapply
definition
test-kitchen
wufoo
text-extraction
flask-socketio
vertex
px4
bioperl
fckeditor
business-catalyst
toggleclass
eclipse-mars
joystick
altova
deck.js
qtruby
aws-kms
archiva
chomsky-normal-form
nugetgallery
factorization
clear
bioconductor
recode
php-gd
properties-file
data-representation
gcc-warning
genome
radgrid
beagleboard
optimistic-locking
uiblureffect
qf-test
angular-file-upload
pidgin
object-oriented-database
mdp
imaplib
mahara
complete
raddatepicker
cab
xrandr
symbian3
cloudmade
blotter
database-restore
configurationsection
sqlbuddy
automapper-2
flexbuilder
file-processing
system-analysis
konsole
cstring
moores-law
tracd

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