Skip to main content

Running a Mystnodes as Docker image on Windows and MacOS hosts

Written by Andzej Korkuz
Updated over a week ago

Docker on Windows and MacOS

Docker Desktop for Windows is Docker designed to run on Windows 10 and macOS. It is a native application that provides an easy-to-use development environment for building, shipping, and running dockerized apps. Docker Desktop for Windows uses Windows-native Hyper-V virtualization and networking and is the fastest and most reliable way to run Dockerized apps on Windows.

System Requirements

  • Windows 10 64-bit: Pro, Enterprise, or Education (Build 15063 or later).

  • Hyper-V and Containers Windows features must be enabled.

To check your Windows version, go to Command Prompt and type winver. Virtualization support feature can be checked under Task Manager > CPU Performance (this option should be enabled by default).

Known limitations:

  • Because of the way networking is implemented in Docker Desktop for Windows/Mac, you cannot see a docker0 interface on the host. This interface is actually within the virtual machine.

  • Docker Desktop for Windows/Mac can’t route traffic to Linux containers.

  • The docker (Linux) bridge network is not reachable from the Windows/Mac hosts.

    Installation

Download and install Docker Desktop executable for Windows/Mac.

When the installation finishes, Docker starts automatically. The "whale" icon in the notification area indicates that Docker is running, and accessible from a terminal. We now assume that Docker Desktop for Windows or Mac has been successfully installed and Docker Service is up and running.

‍For WINDOWS users: Open a command-line terminal and type the following command:

docker pull mysteriumnetwork/myst && docker run --cap-add NET_ADMIN -d -p 4449:4449 --name myst -v myst-data:/var/lib/mysterium-node --restart unless-stopped mysteriumnetwork/myst:latest service --agreed-terms-and-conditions

Note 1: Replace myst-data 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.

For MacOS users: Open a command-line terminal and type the following command:

docker pull mysteriumnetwork/myst && docker run --cap-add NET_ADMIN -d -p 4449:4449 --name myst -v myst-data:/var/lib/mysterium-node --device /dev/net/tun:/dev/net/tun --restart unless-stopped mysteriumnetwork/myst:latest service --agreed-terms-and-conditions

Note 1: Replace myst-data 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.

Complete installation

Once the container is running please log into the Node UI to set up your wallet address and claim your node in MMN.


Did this answer your question?