我正在尝试使用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
并知道我是否做错了什么。
谢谢!