> For the complete documentation index, see [llms.txt](https://dev-en.omnione.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev-en.omnione.net/node-creation/untitled-1/bp-node-by-using-docker/building-bp-node.md).

# Building BP Node

Provides instructions for using the BP Docker image to drive.

## Advanced preparation

Below is the required preparation before using the BP Docker Image from BP operating company.

* Requires Private and Public Key of BP for BP registration.
* Requires to apply for BP in advance. (OmniOne and TestNet Account is required)
* If necessary, Private key storage Wallet keosd can be executed and try to store the password separately.

## BP Node Docker Image download

Download provided BP Node Docker Image.

```
$ wget 
```

> **BP Download Link**

## Getting Docker Image

Proceed operation that gets the downloaded BP Node Image from Docker.

```
$ sudo docker load < omntestnet_bp-docker-image-v0.2.tar
```

If operation is completed, use below command to check.

```
$ sudo docker images
REPOSITORY      TAG        IMAGE ID       CREATED          SIZE
omntestnet_bp   20200210    2f13356cee3a   30 minutes ago   2.29GB
```

## Creating Data D**irectory**

Docker is a structure that manages the data internally. \
Make directory to share the data in order to manage from the outside.

```
$ mkdir -p ~/Raonsecure/docker/testnet/omnnode-data
```

## Executing BP Node Docker Image

proceed the operation that executes the collected BP Node Image.

```
$ docker run -it \
--name omntestnet_bp_you \
-p 18888:8888 -p 19010:19000 -p 10122:22 \
-v ~/Raonsecure/docker/testnet/omnnode-data:/omnione-testnet/bp_node/node_data \
--sig-proxy=false omntestnet_bp:20200210 /bin/bash
```

### Command option explanation

* `-it` : Uses container's shell
* `--name` : Designates the container name that is running
* `-p` : Setting the port forwarding (Host OS 18888 -> BP Node 8888)
* `-v` : Sharing Host OS directory and sharing the container internal directory

The Full Node is now up and running properly.\
Next page will handle Full Node settings for interworking.
