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

Concourse result keeps loading
Docker-compose: AttributeError: 'module' object has no attribute 'ssl'
scaling a service with docker compose
Docker Compose apparently ignores COMPOSE_FILE
Where does Docker install gems on a mac
What is the difference between docker-machine and docker-compose?
Docker Compose port issue. Cannot launch docker project on localhost
Name an image built from running a docker-compose file
Race conditions after changing names in docker-compose.yml
Docker compose - image not found
How to work out the hostname that compose gives containers?
docker-compose restart container if service is dead
Swarm scheduling not working as expected using filters in compose file
issues in buiding Slate with Docker
Invalid type error in Docker Compose
Django cookiecutter with Docker add pip package

Categories

HOME
ftp
openacc
packet
formatting
dynamic
highmaps
watson-iot
query-string
sms
restheart
coding-style
google-app-maker
oms
gcloud
multibinding
versioning
sonarlint
computation-theory
vala
dev-c++
advertising
apdu
pixels
datanucleus
ios9
undo
urhosharp
visual-studio-debugging
mkdir
dotnetnuke-module
motion
google-cloud-powershell
quartz
test-kitchen
risc
django-cors-headers
spring-ide
mef
stream-socket-client
hdpi
nao-robot
monaca
beanshell
pyautogui
blitz3d
ldd
virtualenvwrapper
razorengine
jcalendar
abstract
apache2-module
web-performance
transbase
bootstrap-tabs
avrcp
system.diagnostics
genome
alpha-beta-pruning
aiff
jsonmodel
fxmlloader
grunt-contrib-connect
parsefloat
sat4j
dayofweek
codio
node-amqp
jfilechooser
octokit
violation
proj4
pymel
rfc822
volatility
cryptarithmetic-puzzle
filedialog
dancer
nsscrollview
django-1.4
parsec
backlight
symfony-1.2
fxcopcmd
hp-trim
datadude
bootstrap-protocol
stackless

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