Giter Club home page Giter Club logo

Comments (4)

GaryRogers avatar GaryRogers commented on July 20, 2024

This is a problem in the sandbox.bat file. TYPE isn't defined.
There's also a problem that ${INFLUXDB_TAG} (and other tags) aren't defined (they should be descend from TYPE, 'eh?)

I can get around this by hard-coding latest into the docker-compose.yaml file, but then I hit a snag with a source path in telegraf.

- /var/run/docker.sock:/var/run/docker.sock isn't a valid windows path.

I'll see if I can't get things running on Windows 10 and submit a PR.

Ach. didn't read down. Yeah, It's a problem with TYPE not getting set.

from sandbox.

ross1ch avatar ross1ch commented on July 20, 2024

I spent some time with the sandbox files running on Windows 10 Pro in an effort to work around the TYPE and other arg issues. I have the TICK stacking running by 'hacking' the following files:
docker-compose.yml file.
Replaced $(TYPE) with latest.
Removed all args statements for each service
- args:
INFLUXDB_TAG: ${INFLUXDB_TAG}
DOCKERFILE files
Changed DOCKERFILE contents ( all service except Chronograf) to include only 1 line of code
FROM influxdb:latest
Chronograf DOCKERFILE
FROM chronograf:latest
ADD ./sandbox.src ./usr/share/chronograf/resources/
ADD ./sandbox-kapa.kap ./usr/share/chronograf/resources/

Not very pretty but everything seems to be up and running.

PS C:\Users\ross1\documents\sandbox-master> ./sandbox up
C:\WINDOWS\system32\cmd.exe /c ""C:\Users\ross1\documents\sandbox-master\sandbox.bat" up"
Spinning up Docker Images...
If this is your first time starting sandbox this might take a minute...
Building influxdb
Step 1/1 : FROM influxdb:latest
---> 623f651910b3
Successfully built 623f651910b3
Successfully tagged influxdb:latest
Building telegraf
Step 1/1 : FROM telegraf:latest
latest: Pulling from library/telegraf
54f7e8ac135a: Already exists
d6341e30912f: Already exists
087a57faf949: Already exists
94ca203dd3bb: Pull complete
aa16ecb169ba: Pull complete
0ee261c35a21: Pull complete
95d41fc9ec27: Pull complete
Digest: sha256:d6c4d766d752d1d183c0c6e4d59c9ac32347510b4f3410557550e2525e72376b
Status: Downloaded newer image for telegraf:latest
---> db1f16f1c274
Successfully built db1f16f1c274
Successfully tagged telegraf:latest
Building kapacitor
Step 1/1 : FROM kapacitor:latest
latest: Pulling from library/kapacitor
54f7e8ac135a: Already exists
d6341e30912f: Already exists
087a57faf949: Already exists
2496c053f335: Pull complete
696c736f8b10: Pull complete
3592e8403701: Pull complete
566ed82b342f: Pull complete
3fdf86019bcc: Pull complete
Digest: sha256:bc021c3db2f716327de05f6a6f2eb3a74424a9579be9afbae678cfdcb65b814b
Status: Downloaded newer image for kapacitor:latest
---> dcb563c5444e
Successfully built dcb563c5444e
Successfully tagged kapacitor:latest
Building chronograf
Step 1/3 : FROM chronograf:latest
latest: Pulling from library/chronograf
a5a6f2f73cd8: Already exists
4a10410d20ef: Pull complete
8e8f24809784: Pull complete
f3ce69897aed: Pull complete
824be26e598c: Pull complete
4e7945e23dbf: Pull complete
Digest: sha256:cd035ea2f91f44eaa1e84775ad5ac6688efd1ee137672bdcc4e016c14b3c22c3
Status: Downloaded newer image for chronograf:latest
---> f48701874f56
Step 2/3 : ADD ./sandbox.src ./usr/share/chronograf/resources/
---> c0d6401d2ca1
Step 3/3 : ADD ./sandbox-kapa.kap ./usr/share/chronograf/resources/
---> 9935652e9e38
Successfully built 9935652e9e38
Successfully tagged chrono_config:latest
Building documentation
Step 1/6 : FROM alpine:3.4
3.4: Pulling from library/alpine
d6a5679aa3cf: Pull complete
Digest: sha256:e0826ea5cc99bf3ff9a9d9781e3ad97f73ac7eb2d4319a8f3b712ab5b369cb7c
Status: Downloaded newer image for alpine:3.4
---> 174b26fe09c7
Step 2/6 : EXPOSE 3010:3000
---> Running in d1f12d530356
Removing intermediate container d1f12d530356
---> 8dca7043eb21
Step 3/6 : RUN mkdir -p /documentation
---> Running in 60c80dc23599
Removing intermediate container 60c80dc23599
---> c56f8b0e93f0
Step 4/6 : COPY builds/documentation /documentation/
---> e9b2abe42626
Step 5/6 : COPY static/ /documentation/static
---> 7a623162342f
Step 6/6 : CMD ["/documentation/documentation", "-filePath", "/documentation/"]
---> Running in 2b95ac1c5184
Removing intermediate container 2b95ac1c5184
---> e1f33b555192
Successfully built e1f33b555192
Successfully tagged sandbox-master_documentation:latest
sandbox-master_influxdb_1 is up-to-date
Creating sandbox-master_documentation_1 ... done
Creating sandbox-master_telegraf_1 ... done
Creating sandbox-master_kapacitor_1 ... done
Creating sandbox-master_chronograf_1 ... done
Opening tabs in browser...
Press any key to continue . . .

from sandbox.

timhallinflux avatar timhallinflux commented on July 20, 2024

hey guys...sorry, Windows edition is broken at the moment. We are working on putting this back together. Track the PR here: #49

from sandbox.

timhallinflux avatar timhallinflux commented on July 20, 2024

addressed and merged. Should be working on Windows 10 Pro.

from sandbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.