Docker is a tool that enables developers to ship and run applications such as a Mysterium Node by the use of containers. A container holds all the required libraries, services and other application dependencies and ships it as a single package.
The advantage of docker is that it requires a lot less computing power when compared to virtual machines as it reuses the kernel of the operating system on the host machine and isolates the containerized application from global system settings and environmental factors. This makes it easy to run applications without worrying about the operating system compatibility issues, as well as collisions with other installed software or system configuration.
Ensure that you have the latest version:
docker pull mysteriumnetwork/myst
Start your Myst container with the following command:
docker run --cap-add NET_ADMIN -p 4449:4449 -d --name myst -v $YOUR_MYSTERIUM_DIR:/var/lib/mysterium-node mysteriumnetwork/myst:latest service --agreed-terms-and-conditions
Note 1: Replace
$YOUR_MYSTERIUM_DIR with the path where you'd like to store the node's configuration and keystore files, e.g.
Note2: By adding
--agreed-terms-and-conditions command line option you accept our Terms & Conditions.
Note3: Use Docker detached mode by adding the option
docker run -d IMAGE
It will run a Docker container in the background of your terminal. If you run containers in the background, you can find out their details using
docker ps and then reattach your terminal to its input and output.