# Bitpool Edge Installation

## Getting Started

Use this procedure to install Bitpool-Edge Docker image on a suitable server.

> Visit Docker Hub to find the latest information about our [Bitpool-Edge Docker image](https://hub.docker.com/r/bitpoolos/bitpool-edge).

### Docker Hub Install :whale:

Open a console to your machine running Docker, then issue the following commands.&#x20;

> *If you are running Windows, then this procedure will be similar in the Linux Subsystem (WSL) or Docker Desktop application.*

```javascript
// Perform a system update
sudo apt update

// Complete by upgrading any new packages
sudo apt upgrade -y

// Pull the latest image from Docker-Hub and launch the container as a background process.
sudo docker run -d --network host --name bitpool-edge -v bitpool-edge-data:/data bitpoolos/bitpool-edge

// Check the container is running by reviewing the Docker process list
sudo docker ps -a
```

Next, once you have confirmed that the container is running, open a Browser tab and navigate to the Docker machine.

`http://localhost:1880`

Assuming all has worked correctly, then you can log-in using the following default credentials.

* Username: `admin`
* Password: `bitpool`<br>

**Congratulations**! - that's it.&#x20;

> Assuming you have had no issues along the way, then you are ready to start creating smart IoT solutions using Bitpool-Edge.
>
> Check out our **nodes** on our applications page.

### Bitpool Edge Setting

Once you have Bitpool-Edge running as a Docker container, then you will likely want to make suitable alterations (e.g. log-in credentials) to the underlying Node-RED system. Thanks to the community there are many articles that can help you along the way.

#### Resources

Here are a couple of security related resources to get you started.

* [Official Docs](https://nodered.org/docs/user-guide/runtime/securing-node-red)
* [Ask Steve](https://stevesnoderedguide.com/securing-node-red-ssl)
* [Medium Article](https://medium.com/@thedyslexiccoder/how-to-secure-the-node-red-editor-on-a-raspberry-pi-4-df1a5d9b90d5)

#### Container Access

Use the following command to access the running container, included in the base image are standard editors like `nano`.<br>

```javascript
sudo docker exec -it bitpool-edge sh
```
