Install on Docker
Installing Dotmesh on a computer with Docker installed
- Docker ≥ 1.8.0
- macOS, Ubuntu 16.04 or later, or CentOS 7.4
Installation
Install the dotmesh client dm
:
sudo curl -sSL -o /usr/local/bin/dm \
https://get.dotmesh.io/$(uname -s)/dm
Make the client binary executable.
sudo chmod +x /usr/local/bin/dm
Then use the client to install dotmesh-server
, assuming you have Docker installed and your user account has access to the Docker daemon.
dm cluster init
Checking suitable Docker is installed... yes, got 17.12.0-ce.
Checking dotmesh isn't running... done.
Pulling dotmesh-server docker image...
[...]
This will set up a single-instance cluster on your local machine.
Verify that the dm
client can talk to the dotmesh-server
:
dm version
You should see the client and server version on the screen. If this works, it means the client was able to communicate with the server.
If the installation fails, please report an issue. You can also experiment in our online learning environment. Thanks!
What’s next?
Now that you’ve got dm
installed on Docker, the Docker integration will work automatically.
- Take it for a spin with the Hello Dotmesh tutorial.
- Learn about Using dots in Docker Compose.
Clustering
If you want your Datadots to be available automatically across multiple machines, you can join more nodes to the one-node cluster you just created using dm cluster join
.
You can also deploy Dotmesh on Kubernetes with a DaemonSet so that it automatically gets installed on all the machines in your cluster.