Mattermost Peer-to-Peer Forum

Unrecognised volume spec running preview docker image on Windows

#1

Hi,

I just tried installing the Docker image on the latest version of Docker for Windows according to the instructions and it failed with the error message Error response from daemon: Unrecognised volume spec: invalid volume specification: './mattermost-data'.

See command line output below:

>docker run --name mattermost-preview -d --publish 8065:8065 --add-host dockerhost:127.0.0.1 mattermost/mattermost-preview
Unable to find image 'mattermost/mattermost-preview:latest' locally
latest: Pulling from mattermost/mattermost-preview
6ae821421a7d: Pull complete
a9e976e3aa6d: Pull complete
e3735e44a020: Pull complete
bfd564e9483f: Pull complete
df705f26e488: Pull complete
0c5547f73d62: Pull complete
f437382cf8a1: Pull complete
4f22805bb6d6: Pull complete
394f0f652697: Pull complete
fb068b9b9d1f: Pull complete
fdfc96ad0937: Pull complete
886a6212b9f0: Pull complete
1e96655722a9: Pull complete
b365baa15224: Pull complete
133fe2c903bf: Pull complete
096da92e1724: Pull complete
16be38d85c42: Pull complete
2173d14092cf: Pull complete
3cb91b442d2f: Pull complete
Digest: sha256:c877090d67fdfe20d14b319f7dd0974c78b0c26f36b9f19460932ecbb5af9f78
Status: Downloaded newer image for mattermost/mattermost-preview:latest
docker: Error response from daemon: Unrecognised volume spec: invalid volume specification: './mattermost-data'.
See 'docker run --help'.

>docker version
Client: Docker Engine - Community
 Version:           18.09.1
 API version:       1.39
 Go version:        go1.10.6
 Git commit:        4c52b90
 Built:             Wed Jan  9 19:34:26 2019
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.1
  API version:      1.39 (minimum version 1.24)
  Go version:       go1.10.6
  Git commit:       4c52b90
  Built:            Wed Jan  9 19:50:10 2019
  OS/Arch:          windows/amd64
  Experimental:     true
#2

Hey @pichouk, this seems to be an issue on Docker, or let me know if it’s not specifically docker related and I’ll post this for our devs to look at.

#3

@amy.blais It seems to be Docker related, but it’s related to the mattermost/mattermost-preview Docker image, not the Production ready image (mattermost/mattermost-docker) I maintained.

My guess is that ./mattermost-data is not a valid path on Windows and it is the default volume path in the mattermost-preview image. But @sparkplug seems to follow the documentation and the documentation says that it should works on Windows.
We need help from someone that know the mattermost-preview image, if possible someone that used it on Windows.

#4

@cpanato Are you more familiar with docker-preview image to look at this, or do you know someone on our team who is most familiar with it?

#5

I have just tried this again and still get the same error. As far as I can see, this is the only way to install the Mattermost server on Windows?