Skip to content
Permalink
Browse files

document known issue with docker installed via snap

  • Loading branch information...
BenTheElder committed Apr 3, 2019
1 parent 69f7cd0 commit 1a3e788165bed8913c8c45822ae60ae47c386351
Showing with 12 additions and 0 deletions.
  1. +12 −0 site/content/docs/user/known-issues.md
@@ -18,6 +18,7 @@ It may additionally be helpful to:

## Contents
* [Docker on Btrfs](#docker-on-btrfs)
* [Docker installed with Snap](#docker-installed-with-snap)
* [Failing to apply overlay network](#failing-to-apply-overlay-network)
* [Failure to build node image](#failure-to-build-node-image)
* [Failure for cluster to properly start](#failure-for-cluster-to-properly-start)
@@ -43,6 +44,16 @@ As a workaround, create the following configuration in `/etc/docker/daemon.json`

After restarting the Docker daemon you should see that Docker is now using the `overlay2` storage driver instead of `btrfs`.

### Docker Installed with Snap

If you installed Docker with [snap], it is likely that `docker` commands do not
have access to `$TMPDIR`. This may break some kind commands which depend
on using temp directories (`kind build ...`).

Currently a workaround for this is setting the `TEMPDIR` environment variable to
a directory snap does have access to when working with kind.
This can for example be some directory under `$HOME`.

## Failing to apply overlay network
There are two known causes for problems while applying the overlay network
while building a kind cluster:
@@ -205,3 +216,4 @@ This problem seems to be related to a [bug in Docker][moby#9939].
[kind#270]: https://github.com/kubernetes-sigs/kind/issues/270
[moby#9939]: https://github.com/moby/moby/issues/9939
[Docker resource lims]: https://docs.docker.com/docker-for-mac/#advanced
[snap]: https://snapcraft.io/

0 comments on commit 1a3e788

Please sign in to comment.
You can’t perform that action at this time.