を使用して単純な yesod Web サイトをデプロイしようとしていstack docker
ます。
私の手順:
stack yesod init
...stack exec -- yesod devel
うまくいきます。export DOCKER_HOST=myhost
そしてテストdocker info
は正常に実行されます。- に追加
docker: \n enable: true
しstack.yaml
ます。
その後、失敗
$ stack docker pull
Pulling image from registry: 'fpco/stack-build:lts-3.1'
Pulling repository docker.io/fpco/stack-build
Tag lts-3.1 not found in repository docker.io/fpco/stack-build
Could not pull Docker image:
fpco/stack-build:lts-3.1
There may not be an image on the registry for your resolver's LTS version in stack.yaml.
私は使用しています
$ stack exec -- ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.2
知っている
すべての LTS バージョンにイメージが存在することが保証されているわけではなく、新しい LTS イメージは、stackage.org で公開されている LTS スナップショットより遅れる傾向があります。注意: これらの画像はかなり大きいです!
私の最初の目標は、使用stack docker
して、何か間違っているかどうかを知ることです。
ありがとうございました!