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).
- Pull our Docker image
- 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
If you ever quit Docker, turn your computer off, etc and want to start your already created node, simply run commands (2) and (4)