Docker stack: Placement Property randomly the wrong architecture
I am currently working with docker on my raspberry pi 3 model B+. I am attempting to install MySQL in docker. Docker is in swarm mode (single node for right now).
I am choosing to deploy a prebuilt arm32v7 MySQL image.
I am deploying via docker stack deploy
docker stack deploy --compose-file docker-compose.yml mysql
My compose file looks like this
version: '3.4'
secrets:
DBROOT_PASSWORD:
external: true
services:
db:
image: tobi312/rpi-mysql:latest
volumes:
- /usr/mysql/data:/var/lib/mysql
secrets:
- DBROOT_PASSWORD
environment:
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD
Now the issue I am having is that when the service deploys, sometimes it attempts to deploy in amd64 architecture mode. This seems to be a random occurrence and I can not pinpoint why. I have tried changing many things and it still seems random.
Is there any reason why this would occur randomly?
Here are two separate docker service inspect
outputs from 2 deployments without a single change to compose file.
1st one:
[
{
"ID": "lrd4nu4gujmc31v5t1cx4m2j8",
"Version": {
"Index": 1824
},
"CreatedAt": "2018-11-25T15:04:30.786521779Z",
"UpdatedAt": "2018-11-25T15:04:30.790834401Z",
"Spec": {
"Name": "mysql_db",
"Labels": {
"com.docker.stack.image": "tobi312/rpi-mysql:latest",
"com.docker.stack.namespace": "mysql"
},
"TaskTemplate": {
"ContainerSpec": {
"Image": "tobi312/rpi-mysql:latest",
"Labels": {
"com.docker.stack.namespace": "mysql"
},
"Env": [
"MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD"
],
"Privileges": {
"CredentialSpec": null,
"SELinuxContext": null
},
"Mounts": [
{
"Type": "bind",
"Source": "/usr/mysql/data",
"Target": "/var/lib/mysql"
}
],
"StopGracePeriod": 10000000000,
"DNSConfig": {},
"Secrets": [
{
"File": {
"Name": "DBROOT_PASSWORD",
"UID": "0",
"GID": "0",
"Mode": 292
},
"SecretID": "r7hcdz7dhybcl6pzrxi7gucja",
"SecretName": "DBROOT_PASSWORD"
}
],
"Isolation": "default"
},
"Resources": {},
"RestartPolicy": {
"Condition": "any",
"Delay": 5000000000,
"MaxAttempts": 0
},
"Placement": {},
"Networks": [
{
"Target": "zthy3wyo4auf5r8sxsx6tmiss",
"Aliases": [
"db"
]
}
],
"ForceUpdate": 0,
"Runtime": "container"
},
"Mode": {
"Replicated": {
"Replicas": 1
}
},
"UpdateConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"RollbackConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"EndpointSpec": {
"Mode": "vip"
}
},
"Endpoint": {
"Spec": {
"Mode": "vip"
},
"VirtualIPs": [
{
"NetworkID": "zthy3wyo4auf5r8sxsx6tmiss",
"Addr": "10.0.20.9/24"
}
]
}
}
]
2nd one:
[
{
"ID": "bpzbl2istgu6m8vmaru50nlj8",
"Version": {
"Index": 1804
},
"CreatedAt": "2018-11-25T15:02:22.484137543Z",
"UpdatedAt": "2018-11-25T15:02:22.488271468Z",
"Spec": {
"Name": "mysql_db",
"Labels": {
"com.docker.stack.image": "tobi312/rpi-mysql:latest",
"com.docker.stack.namespace": "mysql"
},
"TaskTemplate": {
"ContainerSpec": {
"Image": "tobi312/rpi-mysql:latest@sha256:75d4cca6e19e78b18cdd6ae37eaa11e9fe0bb13e4e819b865cc2826c0bd05091",
"Labels": {
"com.docker.stack.namespace": "mysql"
},
"Env": [
"MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD"
],
"Privileges": {
"CredentialSpec": null,
"SELinuxContext": null
},
"Mounts": [
{
"Type": "bind",
"Source": "/usr/mysql/data",
"Target": "/var/lib/mysql"
}
],
"StopGracePeriod": 10000000000,
"DNSConfig": {},
"Secrets": [
{
"File": {
"Name": "DBROOT_PASSWORD",
"UID": "0",
"GID": "0",
"Mode": 292
},
"SecretID": "r7hcdz7dhybcl6pzrxi7gucja",
"SecretName": "DBROOT_PASSWORD"
}
],
"Isolation": "default"
},
"Resources": {},
"RestartPolicy": {
"Condition": "any",
"Delay": 5000000000,
"MaxAttempts": 0
},
"Placement": {
"Platforms": [
{
"Architecture": "amd64",
"OS": "linux"
}
]
},
"Networks": [
{
"Target": "zthy3wyo4auf5r8sxsx6tmiss",
"Aliases": [
"db"
]
}
],
"ForceUpdate": 0,
"Runtime": "container"
},
"Mode": {
"Replicated": {
"Replicas": 1
}
},
"UpdateConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"RollbackConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"EndpointSpec": {
"Mode": "vip"
}
},
"Endpoint": {
"Spec": {
"Mode": "vip"
},
"VirtualIPs": [
{
"NetworkID": "zthy3wyo4auf5r8sxsx6tmiss",
"Addr": "10.0.20.4/24"
}
]
}
}
]
docker docker-compose docker-stack
add a comment |
I am currently working with docker on my raspberry pi 3 model B+. I am attempting to install MySQL in docker. Docker is in swarm mode (single node for right now).
I am choosing to deploy a prebuilt arm32v7 MySQL image.
I am deploying via docker stack deploy
docker stack deploy --compose-file docker-compose.yml mysql
My compose file looks like this
version: '3.4'
secrets:
DBROOT_PASSWORD:
external: true
services:
db:
image: tobi312/rpi-mysql:latest
volumes:
- /usr/mysql/data:/var/lib/mysql
secrets:
- DBROOT_PASSWORD
environment:
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD
Now the issue I am having is that when the service deploys, sometimes it attempts to deploy in amd64 architecture mode. This seems to be a random occurrence and I can not pinpoint why. I have tried changing many things and it still seems random.
Is there any reason why this would occur randomly?
Here are two separate docker service inspect
outputs from 2 deployments without a single change to compose file.
1st one:
[
{
"ID": "lrd4nu4gujmc31v5t1cx4m2j8",
"Version": {
"Index": 1824
},
"CreatedAt": "2018-11-25T15:04:30.786521779Z",
"UpdatedAt": "2018-11-25T15:04:30.790834401Z",
"Spec": {
"Name": "mysql_db",
"Labels": {
"com.docker.stack.image": "tobi312/rpi-mysql:latest",
"com.docker.stack.namespace": "mysql"
},
"TaskTemplate": {
"ContainerSpec": {
"Image": "tobi312/rpi-mysql:latest",
"Labels": {
"com.docker.stack.namespace": "mysql"
},
"Env": [
"MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD"
],
"Privileges": {
"CredentialSpec": null,
"SELinuxContext": null
},
"Mounts": [
{
"Type": "bind",
"Source": "/usr/mysql/data",
"Target": "/var/lib/mysql"
}
],
"StopGracePeriod": 10000000000,
"DNSConfig": {},
"Secrets": [
{
"File": {
"Name": "DBROOT_PASSWORD",
"UID": "0",
"GID": "0",
"Mode": 292
},
"SecretID": "r7hcdz7dhybcl6pzrxi7gucja",
"SecretName": "DBROOT_PASSWORD"
}
],
"Isolation": "default"
},
"Resources": {},
"RestartPolicy": {
"Condition": "any",
"Delay": 5000000000,
"MaxAttempts": 0
},
"Placement": {},
"Networks": [
{
"Target": "zthy3wyo4auf5r8sxsx6tmiss",
"Aliases": [
"db"
]
}
],
"ForceUpdate": 0,
"Runtime": "container"
},
"Mode": {
"Replicated": {
"Replicas": 1
}
},
"UpdateConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"RollbackConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"EndpointSpec": {
"Mode": "vip"
}
},
"Endpoint": {
"Spec": {
"Mode": "vip"
},
"VirtualIPs": [
{
"NetworkID": "zthy3wyo4auf5r8sxsx6tmiss",
"Addr": "10.0.20.9/24"
}
]
}
}
]
2nd one:
[
{
"ID": "bpzbl2istgu6m8vmaru50nlj8",
"Version": {
"Index": 1804
},
"CreatedAt": "2018-11-25T15:02:22.484137543Z",
"UpdatedAt": "2018-11-25T15:02:22.488271468Z",
"Spec": {
"Name": "mysql_db",
"Labels": {
"com.docker.stack.image": "tobi312/rpi-mysql:latest",
"com.docker.stack.namespace": "mysql"
},
"TaskTemplate": {
"ContainerSpec": {
"Image": "tobi312/rpi-mysql:latest@sha256:75d4cca6e19e78b18cdd6ae37eaa11e9fe0bb13e4e819b865cc2826c0bd05091",
"Labels": {
"com.docker.stack.namespace": "mysql"
},
"Env": [
"MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD"
],
"Privileges": {
"CredentialSpec": null,
"SELinuxContext": null
},
"Mounts": [
{
"Type": "bind",
"Source": "/usr/mysql/data",
"Target": "/var/lib/mysql"
}
],
"StopGracePeriod": 10000000000,
"DNSConfig": {},
"Secrets": [
{
"File": {
"Name": "DBROOT_PASSWORD",
"UID": "0",
"GID": "0",
"Mode": 292
},
"SecretID": "r7hcdz7dhybcl6pzrxi7gucja",
"SecretName": "DBROOT_PASSWORD"
}
],
"Isolation": "default"
},
"Resources": {},
"RestartPolicy": {
"Condition": "any",
"Delay": 5000000000,
"MaxAttempts": 0
},
"Placement": {
"Platforms": [
{
"Architecture": "amd64",
"OS": "linux"
}
]
},
"Networks": [
{
"Target": "zthy3wyo4auf5r8sxsx6tmiss",
"Aliases": [
"db"
]
}
],
"ForceUpdate": 0,
"Runtime": "container"
},
"Mode": {
"Replicated": {
"Replicas": 1
}
},
"UpdateConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"RollbackConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"EndpointSpec": {
"Mode": "vip"
}
},
"Endpoint": {
"Spec": {
"Mode": "vip"
},
"VirtualIPs": [
{
"NetworkID": "zthy3wyo4auf5r8sxsx6tmiss",
"Addr": "10.0.20.4/24"
}
]
}
}
]
docker docker-compose docker-stack
add a comment |
I am currently working with docker on my raspberry pi 3 model B+. I am attempting to install MySQL in docker. Docker is in swarm mode (single node for right now).
I am choosing to deploy a prebuilt arm32v7 MySQL image.
I am deploying via docker stack deploy
docker stack deploy --compose-file docker-compose.yml mysql
My compose file looks like this
version: '3.4'
secrets:
DBROOT_PASSWORD:
external: true
services:
db:
image: tobi312/rpi-mysql:latest
volumes:
- /usr/mysql/data:/var/lib/mysql
secrets:
- DBROOT_PASSWORD
environment:
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD
Now the issue I am having is that when the service deploys, sometimes it attempts to deploy in amd64 architecture mode. This seems to be a random occurrence and I can not pinpoint why. I have tried changing many things and it still seems random.
Is there any reason why this would occur randomly?
Here are two separate docker service inspect
outputs from 2 deployments without a single change to compose file.
1st one:
[
{
"ID": "lrd4nu4gujmc31v5t1cx4m2j8",
"Version": {
"Index": 1824
},
"CreatedAt": "2018-11-25T15:04:30.786521779Z",
"UpdatedAt": "2018-11-25T15:04:30.790834401Z",
"Spec": {
"Name": "mysql_db",
"Labels": {
"com.docker.stack.image": "tobi312/rpi-mysql:latest",
"com.docker.stack.namespace": "mysql"
},
"TaskTemplate": {
"ContainerSpec": {
"Image": "tobi312/rpi-mysql:latest",
"Labels": {
"com.docker.stack.namespace": "mysql"
},
"Env": [
"MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD"
],
"Privileges": {
"CredentialSpec": null,
"SELinuxContext": null
},
"Mounts": [
{
"Type": "bind",
"Source": "/usr/mysql/data",
"Target": "/var/lib/mysql"
}
],
"StopGracePeriod": 10000000000,
"DNSConfig": {},
"Secrets": [
{
"File": {
"Name": "DBROOT_PASSWORD",
"UID": "0",
"GID": "0",
"Mode": 292
},
"SecretID": "r7hcdz7dhybcl6pzrxi7gucja",
"SecretName": "DBROOT_PASSWORD"
}
],
"Isolation": "default"
},
"Resources": {},
"RestartPolicy": {
"Condition": "any",
"Delay": 5000000000,
"MaxAttempts": 0
},
"Placement": {},
"Networks": [
{
"Target": "zthy3wyo4auf5r8sxsx6tmiss",
"Aliases": [
"db"
]
}
],
"ForceUpdate": 0,
"Runtime": "container"
},
"Mode": {
"Replicated": {
"Replicas": 1
}
},
"UpdateConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"RollbackConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"EndpointSpec": {
"Mode": "vip"
}
},
"Endpoint": {
"Spec": {
"Mode": "vip"
},
"VirtualIPs": [
{
"NetworkID": "zthy3wyo4auf5r8sxsx6tmiss",
"Addr": "10.0.20.9/24"
}
]
}
}
]
2nd one:
[
{
"ID": "bpzbl2istgu6m8vmaru50nlj8",
"Version": {
"Index": 1804
},
"CreatedAt": "2018-11-25T15:02:22.484137543Z",
"UpdatedAt": "2018-11-25T15:02:22.488271468Z",
"Spec": {
"Name": "mysql_db",
"Labels": {
"com.docker.stack.image": "tobi312/rpi-mysql:latest",
"com.docker.stack.namespace": "mysql"
},
"TaskTemplate": {
"ContainerSpec": {
"Image": "tobi312/rpi-mysql:latest@sha256:75d4cca6e19e78b18cdd6ae37eaa11e9fe0bb13e4e819b865cc2826c0bd05091",
"Labels": {
"com.docker.stack.namespace": "mysql"
},
"Env": [
"MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD"
],
"Privileges": {
"CredentialSpec": null,
"SELinuxContext": null
},
"Mounts": [
{
"Type": "bind",
"Source": "/usr/mysql/data",
"Target": "/var/lib/mysql"
}
],
"StopGracePeriod": 10000000000,
"DNSConfig": {},
"Secrets": [
{
"File": {
"Name": "DBROOT_PASSWORD",
"UID": "0",
"GID": "0",
"Mode": 292
},
"SecretID": "r7hcdz7dhybcl6pzrxi7gucja",
"SecretName": "DBROOT_PASSWORD"
}
],
"Isolation": "default"
},
"Resources": {},
"RestartPolicy": {
"Condition": "any",
"Delay": 5000000000,
"MaxAttempts": 0
},
"Placement": {
"Platforms": [
{
"Architecture": "amd64",
"OS": "linux"
}
]
},
"Networks": [
{
"Target": "zthy3wyo4auf5r8sxsx6tmiss",
"Aliases": [
"db"
]
}
],
"ForceUpdate": 0,
"Runtime": "container"
},
"Mode": {
"Replicated": {
"Replicas": 1
}
},
"UpdateConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"RollbackConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"EndpointSpec": {
"Mode": "vip"
}
},
"Endpoint": {
"Spec": {
"Mode": "vip"
},
"VirtualIPs": [
{
"NetworkID": "zthy3wyo4auf5r8sxsx6tmiss",
"Addr": "10.0.20.4/24"
}
]
}
}
]
docker docker-compose docker-stack
I am currently working with docker on my raspberry pi 3 model B+. I am attempting to install MySQL in docker. Docker is in swarm mode (single node for right now).
I am choosing to deploy a prebuilt arm32v7 MySQL image.
I am deploying via docker stack deploy
docker stack deploy --compose-file docker-compose.yml mysql
My compose file looks like this
version: '3.4'
secrets:
DBROOT_PASSWORD:
external: true
services:
db:
image: tobi312/rpi-mysql:latest
volumes:
- /usr/mysql/data:/var/lib/mysql
secrets:
- DBROOT_PASSWORD
environment:
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD
Now the issue I am having is that when the service deploys, sometimes it attempts to deploy in amd64 architecture mode. This seems to be a random occurrence and I can not pinpoint why. I have tried changing many things and it still seems random.
Is there any reason why this would occur randomly?
Here are two separate docker service inspect
outputs from 2 deployments without a single change to compose file.
1st one:
[
{
"ID": "lrd4nu4gujmc31v5t1cx4m2j8",
"Version": {
"Index": 1824
},
"CreatedAt": "2018-11-25T15:04:30.786521779Z",
"UpdatedAt": "2018-11-25T15:04:30.790834401Z",
"Spec": {
"Name": "mysql_db",
"Labels": {
"com.docker.stack.image": "tobi312/rpi-mysql:latest",
"com.docker.stack.namespace": "mysql"
},
"TaskTemplate": {
"ContainerSpec": {
"Image": "tobi312/rpi-mysql:latest",
"Labels": {
"com.docker.stack.namespace": "mysql"
},
"Env": [
"MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD"
],
"Privileges": {
"CredentialSpec": null,
"SELinuxContext": null
},
"Mounts": [
{
"Type": "bind",
"Source": "/usr/mysql/data",
"Target": "/var/lib/mysql"
}
],
"StopGracePeriod": 10000000000,
"DNSConfig": {},
"Secrets": [
{
"File": {
"Name": "DBROOT_PASSWORD",
"UID": "0",
"GID": "0",
"Mode": 292
},
"SecretID": "r7hcdz7dhybcl6pzrxi7gucja",
"SecretName": "DBROOT_PASSWORD"
}
],
"Isolation": "default"
},
"Resources": {},
"RestartPolicy": {
"Condition": "any",
"Delay": 5000000000,
"MaxAttempts": 0
},
"Placement": {},
"Networks": [
{
"Target": "zthy3wyo4auf5r8sxsx6tmiss",
"Aliases": [
"db"
]
}
],
"ForceUpdate": 0,
"Runtime": "container"
},
"Mode": {
"Replicated": {
"Replicas": 1
}
},
"UpdateConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"RollbackConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"EndpointSpec": {
"Mode": "vip"
}
},
"Endpoint": {
"Spec": {
"Mode": "vip"
},
"VirtualIPs": [
{
"NetworkID": "zthy3wyo4auf5r8sxsx6tmiss",
"Addr": "10.0.20.9/24"
}
]
}
}
]
2nd one:
[
{
"ID": "bpzbl2istgu6m8vmaru50nlj8",
"Version": {
"Index": 1804
},
"CreatedAt": "2018-11-25T15:02:22.484137543Z",
"UpdatedAt": "2018-11-25T15:02:22.488271468Z",
"Spec": {
"Name": "mysql_db",
"Labels": {
"com.docker.stack.image": "tobi312/rpi-mysql:latest",
"com.docker.stack.namespace": "mysql"
},
"TaskTemplate": {
"ContainerSpec": {
"Image": "tobi312/rpi-mysql:latest@sha256:75d4cca6e19e78b18cdd6ae37eaa11e9fe0bb13e4e819b865cc2826c0bd05091",
"Labels": {
"com.docker.stack.namespace": "mysql"
},
"Env": [
"MYSQL_ROOT_PASSWORD_FILE=/run/secrets/DBROOT_PASSWORD"
],
"Privileges": {
"CredentialSpec": null,
"SELinuxContext": null
},
"Mounts": [
{
"Type": "bind",
"Source": "/usr/mysql/data",
"Target": "/var/lib/mysql"
}
],
"StopGracePeriod": 10000000000,
"DNSConfig": {},
"Secrets": [
{
"File": {
"Name": "DBROOT_PASSWORD",
"UID": "0",
"GID": "0",
"Mode": 292
},
"SecretID": "r7hcdz7dhybcl6pzrxi7gucja",
"SecretName": "DBROOT_PASSWORD"
}
],
"Isolation": "default"
},
"Resources": {},
"RestartPolicy": {
"Condition": "any",
"Delay": 5000000000,
"MaxAttempts": 0
},
"Placement": {
"Platforms": [
{
"Architecture": "amd64",
"OS": "linux"
}
]
},
"Networks": [
{
"Target": "zthy3wyo4auf5r8sxsx6tmiss",
"Aliases": [
"db"
]
}
],
"ForceUpdate": 0,
"Runtime": "container"
},
"Mode": {
"Replicated": {
"Replicas": 1
}
},
"UpdateConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"RollbackConfig": {
"Parallelism": 1,
"FailureAction": "pause",
"Monitor": 5000000000,
"MaxFailureRatio": 0,
"Order": "stop-first"
},
"EndpointSpec": {
"Mode": "vip"
}
},
"Endpoint": {
"Spec": {
"Mode": "vip"
},
"VirtualIPs": [
{
"NetworkID": "zthy3wyo4auf5r8sxsx6tmiss",
"Addr": "10.0.20.4/24"
}
]
}
}
]
docker docker-compose docker-stack
docker docker-compose docker-stack
edited Nov 25 '18 at 18:15
Siyu
3,06411231
3,06411231
asked Nov 25 '18 at 15:26
JParksJParks
74
74
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53468981%2fdocker-stack-placement-property-randomly-the-wrong-architecture%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53468981%2fdocker-stack-placement-property-randomly-the-wrong-architecture%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown