Blog

Weekly Tips #4: Build and run the GrandNode with Docker for Linux containers

Tuesday, February 27, 2018 Comments (0)

In this short tutorial, I would like to share with you the way how to install GrandNode with Docker for Linux containers.

What is Docker?

Docker is an open-source project for automating the deployment of applications as portable, self-sufficient containers that can run in the cloud or on-premises (see Figure 1-2). Docker is also a company that promotes and develops this technology, working in collaboration with cloud, Linux, and Windows vendors, including Microsoft.

More information about Docker you can find in the official documentation:

https://www.docker.com/what-docker 

Build and run the GrandNode with Docker for Linux containers

It's basic! Install Docker from the site mentioned above. 

All you need is a running Docker and cmd. 

Please run the command:

$ docker pull grandnode/develop

Screen from cmd - docker pull

It will download the newest image from our GitHub. 

The next step is to start the application. You can do it with following command:

$ docker run -d -p 127.0.0.1:8080:80 --name nameofyourapp grandnode/develop

Screen from cmd - docker run

Almost done. Now start the container with:

$ docker start nameofyourapp

Screen from cmd docker start

You can check if the app works on 127.0.0.1:8080 in your browser. You should see the installation screen.

You can also check the docker container status, by entering:

$ docker ps

Screen from cmd - docker ps

You will see a list of active containers.

Leave your comment