... | @@ -23,4 +23,13 @@ cp sdk4ed_energy_toolbox/Dockerfile ./ |
... | @@ -23,4 +23,13 @@ cp sdk4ed_energy_toolbox/Dockerfile ./ |
|
Step 4) Build the Docker image
|
|
Step 4) Build the Docker image
|
|
```
|
|
```
|
|
docker build -t sdk4ed_energy_image .
|
|
docker build -t sdk4ed_energy_image .
|
|
``` |
|
```
|
|
\ No newline at end of file |
|
Step 4) Build the Docker image
|
|
|
|
```
|
|
|
|
docker build -t sdk4ed_energy_image .
|
|
|
|
```
|
|
|
|
Step 5) Finally, build the two containers, energy toolbox and database
|
|
|
|
```
|
|
|
|
docker run -d --name energy_toolbox_db mongo:latest
|
|
|
|
docker run -t -d --rm -p 0.0.0.0:3002:5000 --name sdk4ed -e TOOLBOXBUSY="0" --link energy_toolbox_db:mongo --privileged --interactive --tty sdk4ed_energy_image
|
|
|
|
``` |
|
|
|
\ No newline at end of file |