Comments (6)
What you did instead of docker create
was supposed to be done instead of step 5 not docker create
. So in step 5 instead of
docker build data-analytics/dataset
Use this:
docker build -t data-analytics:dataset ./data-analytics/dataset
By using this, your built image has the required tag, data-analytics:dataset
, which is then can be used in other commands like docker create
command.
BTW, in step 4, the ubuntu version must be 14.04 not 10.04.
from cloudsuite.
I successfully ran the create command. Now, I have to start the master. Two commands should be used
$ docker pull cloudsuite/data-analytics:master
$ docker run -d -t --dns 127.0.0.1 -P --name master -h master.cloudsuite.com --volumes-from data cloudsuite/data-analytics:master
Instead, I tried
mahmood@orca:cloudsuite_v3$ mkdir -p data-analytics/master
mahmood@orca:cloudsuite_v3$ vim data-analytics/master/Dockerfile
(the Dockerfile content is the same as this)
mahmood@orca:cloudsuite_v3$ mkdir -p data-analytics/master
mahmood@orca:cloudsuite_v3$ docker build data-analytics/master
Sending build context to Docker daemon 4.096 kB
Step 1 : FROM cloudsuite/data-analytics:base
Pulling repository docker.io/cloudsuite/data-analytics_
As you can see, it again tries to pull
. What should I do?
Also, should I download files and folders of master from the github and move them to my local host?
from cloudsuite.
The base image (check FROM
statement) of this image is data-analytics:base
. So you have to first build that one and then try to build data-analytics:master
.
BTW, you can download the whole repository as an archive file. Then at root the archived folder, you can easily build each image using this command:
docker build -t $DH_REPO:$IMG_TAG $DF_PATH
For instance for data-analytics the three variables are:
DH_REPO="cloudsuite/data-analytics" IMG_TAG="base" DF_PATH="./benchmarks/data-analytics/base"
DH_REPO="cloudsuite/data-analytics" IMG_TAG="dataset" DF_PATH="./benchmarks/data-analytics/dataset"
DH_REPO="cloudsuite/data-analytics" IMG_TAG="master" DF_PATH="./benchmarks/data-analytics/master"
DH_REPO="cloudsuite/data-analytics" IMG_TAG="slave" DF_PATH="./benchmarks/data-analytics/slave"
For more information about the docker commands and the building process of Docker images, you can take a look at the docker documentation.
from cloudsuite.
1- FYI, there is no information about building the base/ in the data-analytics guide.
2- Should I use build -t (similar to the dataset) for all folders? Or that -t is used for dataset only?
3- The serf package from bintray.com is no longer available. Is that the same as serf.googlecode.com? Please provide us the package to prevent any version mismatch.
from cloudsuite.
First off, I'd like to mention that the vast majority of this thread is about Docker, not CloudSuite. We offer CloudSuite 3.0 with Docker just to ease the process of deploying it. If, for any reason, you want to follow your own setup and not follow the instructions, you'll have to become more familiar with Docker, and this is not something our documentation/support aspires to cover. If this is an overhead you'd prefer to avoid, you can follow the Dockerfiles as instructions for a bare metal setup (w/o Docker).
To answer your Q's:
1- Following what I mentioned above, there is indeed no special information about building the base, as the way you are setting it up is not our intended use case. This means you have to follow the commands in the Dockerfiles on your own. In this particular case, the Dockerfile specifies that the base image is required (as implied by the FROM keyword).
2- I'm not sure I understand the question. The -t option of the build command is used to tag the image you're building, in order to make it easier to refer to it.
3- Thanks for pointing that out. I opened a separate issue for that to be updated. You can find the package that is used by the Dockerfile here.
from cloudsuite.
@mahmoodn Take a look at this. It may help you solving your problem.
from cloudsuite.
Related Issues (20)
- [Data Analytics] Need to add small delay before executing master HOT 1
- Bumping to CloudSuite 4 HOT 1
- New Workload HOT 1
- Media Streaming Client Fetches Session Lists from Server
- Update deprecated dataset for `in-memory-analytics` HOT 1
- Exposing Cassandra's Options to Container Startup Parameter HOT 1
- cloudsuite 4.0 Data serving Error HOT 7
- HHVM and Django left overs
- Better documentation how to run the workloads
- Add to the configuration parameters of the docker, the number of vcpus that will be allocated to Spark and Hadoop
- Media Streaming Should Have High-Resolution Video (1080p, 4K)
- In-Memory doc
- Data Analytics implementation questions HOT 10
- Media Streaming Multi-node HOT 4
- Ramp up workload intensity for Data-Caching and Data-Serving Benchmarks HOT 1
- media streaming dataset: Issue with running ffmpeg - timestamp out of range HOT 1
- Can I run cloudsuite benchmark on arm64 architecture directly by offical code? HOT 13
- Sysbench Meets Error When Running on ARM64 Platform
- In-memory analytics benchmark run question HOT 8
- media-streaming dataset error HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudsuite.