我跑步时
docker-compose build && docker stack deploy -c docker-compose yml somestack
它可以很好地构建并且秘密似乎可以读取,但是该构建发出如下警告:
WARNING: Service "foo" uses secret "foo_pw" which is external. External secrets are not available to containers created by docker-compose.
我做错了吗?我应该运行什么而不是docker-compose build
?