Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10 Error building InfluxDb #47

Closed
purusartha opened this issue Nov 15, 2018 · 6 comments
Closed

Windows 10 Error building InfluxDb #47

purusartha opened this issue Nov 15, 2018 · 6 comments

Comments

@purusartha
Copy link

Docker version 18.06.1-ce installed

I am doing a git clone of the sandbox, then running sandbox up from inside a command prompt and get the following error:

D:\Source\Repos\influxtestbench\sandbox>sandbox up
Spinning up Docker Images...
If this is your first time starting sandbox this might take a minute...
WARNING: The TYPE variable is not set. Defaulting to a blank string.
Building influxdb
ERROR: Cannot locate specified Dockerfile: .//Dockerfile
Opening tabs in browser...

The dockerfile it is looking for is inside the latest||nightly folders, but still does not work.Help please.

@gstamatakis
Copy link

same problem
if someone has a solution please give us a hint

@jarruda
Copy link

jarruda commented Nov 28, 2018

Same error.

Windows 10 1803 / 17134.407

Docker Desktop Community
Version 2.0.0.0-win78 (28905)
Channel: stable
Build: c404a62

@jarruda
Copy link

jarruda commented Nov 28, 2018

The issue appears to be that the Windows sandbox.bat file doesn't set any of the environment variables from .env or .env-latest. This is what the WARNING re: TYPE about.

Setting the environment variables in those files has gotten me to the building portion. I'm failing because Docker for Windows is failing to let me share a volume (docker/for-win#2549).

@ross1ch
Copy link

ross1ch commented Dec 3, 2018

I have the same problem in Windows 10 with the 'TYPE' variable.

PS C:\users\ross1\documents\sandbox-master> docker-compose config
WARNING: The TYPE variable is not set. Defaulting to a blank string.
services:
chronograf:
build:
args:
CHRONOGRAF_TAG: chronograf:latest
context: C:\users\ross1\documents\sandbox-master\images\chronograf
dockerfile: .//Dockerfile

Can I get a little more info on properly setting this env variable?

@timhallinflux
Copy link
Contributor

Working to address here: #49

@timhallinflux
Copy link
Contributor

addressed. Should be working on Windows 10 Pro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants