Comments (8)
what's the output of dcos --version
?
from docker-containers.
@tamarrow
I download it from https://downloads.dcos.io/binaries/cli/linux/x86-64/dcos-1.8/dcos
link and It returns version
$ dcos --version
dcoscli.version=0.4.12
dcos.version=N/A
dcos.commit=N/A
dcos.bootstrap-id=N/A
from docker-containers.
If you are using the package
subcommand, you need to connect the cli to your DC/OS cluster. dcos config set core.dcos_url http://your/dcos/cluster
from docker-containers.
I my machine I run any a zookeeper, mesos-master and mesos-slave like below
docker run -d --name=zookeeper --net=host netflixoss/exhibitor:1.5.2
docker run -d --name=mesos-master-1 --net=host \
-e MESOS_PORT=5050 \
-e MESOS_ZK=zk://127.0.0.1:2181/mesos \
-e MESOS_QUORUM=1 \
-e MESOS_REGISTRY=in_memory \
-e MESOS_LOG_DIR=/var/log/mesos \
-e MESOS_WORK_DIR=/var/tmp/mesos \
-v "$(pwd)/log/mesos:/var/log/mesos" \
-v "$(pwd)/tmp/mesos:/var/tmp/mesos" \
mesosphere/mesos-master:1.0.11.0.1-2.0.93.ubuntu1404
docker run -d --net=host --name=mesos-slave-1 --privileged \
-e MESOS_PORT=5054 \
-e MESOS_MASTER=zk://127.0.0.1:2181/mesos \
-e MESOS_SWITCH_USER=0 \
-e MESOS_CONTAINERIZERS=docker,mesos \
-e MESOS_LOG_DIR=/var/log/mesos \
-e MESOS_WORK_DIR=/var/tmp/mesos \
-v "$(pwd)/log/mesos:/var/log/mesos" \
-v "$(pwd)/tmp/mesos:/var/tmp/mesos" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /cgroup:/cgroup \
-v /sys:/sys \
-v /usr/local/bin/docker:/usr/local/bin/docker \
mesosphere/mesos-slave:1.0.11.0.1-2.0.93.ubuntu1404
and after that set core.dcos_url
config
./dcos config set core.dcos_url http://localhost:5050
and when I want to install a package I got that error
from docker-containers.
Did you verify that the host is up? In your output of dcos --verison
above you have dcos.version=N/A
which indicated that the cli cannot connect to the cluster.
from docker-containers.
@tamarrow doesn't dcos-cli have to point to a DC/OS cluster? localhost:5050 sounds like a Mesos Master. Is that even supported?
from docker-containers.
The package subcommand will not work. The node subcommand should work, but this is not supported.
from docker-containers.
@tamarrow I ran these commands on my computer
from docker-containers.
Related Issues (20)
- mesoscloud Docker images outdated and misconfigured HOT 2
- marahon container don't have web ui HOT 4
- Docker 1.10 issue HOT 2
- Why is mesos-slave-dind not kept up to date? HOT 3
- Missing bind mounts for mesos-slave HOT 7
- SELinux: Could not open policy file HOT 10
- Mesos Master 1.0.0-rc1 docker image fails to start with openssl error HOT 1
- Initial launch instructions are incorrect HOT 4
- Couldnt get Mesos-Slave running, due to DockerContainerizer error HOT 1
- Issue when starting mesos-slave:1.0.11.0.1-2.0.93.ubuntu1404 without mapping to host's docker HOT 2
- Mesos Master/Slave Configuration Links in README Out of Date
- clear
- MESOS_CONTAINERIZERS ERROR HOT 2
- mesos-slave docker image with docker_mesos_image is broken HOT 1
- docker
- Consider removing --privileged argument from agent launch instructions
- Error running mesos-slave
- Latest tag missing
- Local Persistent Volume mount() Silently Fails
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 docker-containers.