Skip to content

The stack docker commands

stack docker COMMAND

Available commands:
  pull                     Pull latest version of Docker image from registry
  reset                    Reset the Docker sandbox

Stack is able to build your code inside a Docker image, which means even more reproducibility to your builds, since you and the rest of your team will always have the same system libraries.

For further information, see the Docker integration documentation.

The stack docker pull command

stack docker pull

stack docker pull pulls the latest version of the Docker image from the registry.

The stack docker reset command

stack docker reset [--keep-home]

stack docker reset resets the Docker sandbox.

Pass the flag --keep-home to preserve the sandbox's home directory.