You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Up until recently docker stack deploy was reading env_file values without any issues.
Few days ago i started having issues
Deploying stack to the swarm I use to do with DOCKER_HOST=ssh://address docker stack deploy -c docker-compose.yml service_name env_file=/pat/to/production.env
The SMS_SERVICE_SECRET variable is not set. Defaulting to a blank string.
The SMS_SERVICE_URL variable is not set. Defaulting to a blank string.
The API_URL variable is not set. Defaulting to a blank string.
The FRONTEND_APP_URL variable is not set. Defaulting to a blank string.
Describe the results you expected:
if API_URL=https://api.url is passed properly , docker-compose.yml should read ${API_URL}
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
Locally on my MACOS:
Client: Docker Engine - Community
Cloud integration: 1.0.9
Version: 20.10.5
API version: 1.41
Go version: go1.13.15
Git commit: 55c4c88
Built: Tue Mar 2 20:13:00 2021
OS/Arch: darwin/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.5
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: 363e9a8
Built: Tue Mar 2 20:15:47 2021
OS/Arch: linux/amd64
Experimental: true
containerd:
Version: 1.4.3
GitCommit: 269548fa27e0089a8b8278fc4fc781d7f65a939b
runc:
Version: 1.0.0-rc92
GitCommit: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
docker-init:
Version: 0.19.0
GitCommit: de40ad0
on the remote server:
Client:
Version: 19.03.6-ce
API version: 1.40
Go version: go1.13.4
Git commit: 369ce74
Built: Fri May 29 04:01:26 2020
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 19.03.6-ce
API version: 1.40 (minimum version 1.12)
Go version: go1.13.4
Git commit: 369ce74
Built: Fri May 29 04:01:57 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.3.2
GitCommit: ff48f57fc83a8c44cf4ad5d672424a98ba37ded6
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
Description
Up until recently docker stack deploy was reading env_file values without any issues.
Few days ago i started having issues
Deploying stack to the swarm I use to do with
DOCKER_HOST=ssh://address docker stack deploy -c docker-compose.yml service_name env_file=/pat/to/production.env
Steps to reproduce the issue:
docker-compose.yml
hasDOCKER_HOST=ssh://address docker stack deploy -c docker-compose.yml service_name env_file=/pat/to/production.env
Describe the results you received:
even though I got this as a stdout:
I got this error:
Describe the results you expected:
if
API_URL=https://api.url
is passed properly , docker-compose.yml should read${API_URL}
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Locally on my MACOS:
on the remote server:
Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: