How to run X Core on Docker

Up until now, it was possible to run X Core through our official app, or through a headless version for more advanced users. Today, we have made it possible to run X Core on Docker.

Running applications in containers instead of virtual machines is gaining momentum. The technology is considered to be one of the fastest-growing in the recent history of the software industry. At its heart lies Docker, a platform that allows users to easily pack, distribute and manage applications within containers. In other words, it is an open-source project that automates the deployment of applications inside software containers.

Docker makes it easier to create, deploy, and run applications by using containers. And containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. By doing so, the developer can be assured that the application will run on any other Linux machine regardless of any customized settings that machine might have that could differ from the machine used for writing and testing the code.

How can I run X Core on Docker? Well, first of all, you’ll need to download and install Docker on your machine. Once that’s done, you will need to get our Docker image and set up your node (raw text).

  1. Pull our Docker image
  2. Create the Docker container (note, 45555 is the port that you will want to use on X Core; you can enter whatever port you want. You need to open this port in your router. You also need to enter a local directory -instead of /home/al in our sample command, where all your X Core files will be hosted. You need to create a .xcore folder inside that directory).

3. Create the node (insert your wallet address, amount of your disk you’ll dedicate to run X Core, port -same one as before, and Public IP address).

4. Execute the node. If the command above doesn’t work for you, enter the following command instead

If you want to check your node status, you can enter

docker exec xcore xcore status

or, if you are running it from the container itself, simply

xcore status

If you ever quit Docker, turn your computer off, etc and want to start your already created node, simply run commands (2) and (4)

Internxt

Making the impossible, possible.

Fran Villalba Segarra

Written by

Internxt

Internxt

Making the impossible, possible.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade