Skip to content

Commit 7ae7321

Browse files
authored
Update docker.md
fix #181
1 parent ba044b9 commit 7ae7321

File tree

1 file changed

+39
-13
lines changed

1 file changed

+39
-13
lines changed

source/content/installation/docker.md

Lines changed: 39 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,26 @@ Based on the [Jupyter minimal notebook](https://github.com/jupyter/docker-stacks
1414

1515
## What it Gives You
1616

17-
* Miniconda
18-
* Python 3.10
19-
* Jupyterlab
20-
* brightway2 framework
17+
| bw2 | bw25 |
18+
|-----|-------|
19+
|+ micromamba | micromamba |
20+
|+ Python 3.11| python 3.12|
21+
|+ Jupyterlab| Jupyterlab|
22+
|+ brightway2 framework| brightway25 framework |
2123

2224
Docker instances are ephemeral. You will almost certainly want to mount a [data volume](https://docs.docker.com/storage/volumes/).
2325

24-
## Usage of bw2 image
26+
## Usage of bw images
2527

26-
To run an instance of Jupyter Lab, accessible at [localhost:8888](http://localhost:8888/):
28+
To run an instance of Jupyter Lab, accessible at [localhost:8888](http://localhost:8888/) for **bw2**
2729

2830
docker run --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes brightway/bw2
2931

32+
and the following for **bw25**:
33+
34+
docker run --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes brightway/bw25
35+
36+
3037
Jupyterlab also allows you to run iPython sessions or even a terminal.
3138

3239
See the [Jupyter documentation](https://github.com/jupyter/docker-stacks) for more usage options.
@@ -38,17 +45,36 @@ See the [Jupyter documentation](https://github.com/jupyter/docker-stacks) for mo
3845
The [brightway2](https://github.com/brightway-lca/brightway2) docker images are currently built and
3946
tagged based on the following different components of the image
4047

41-
+ brightway2 metapackage version (2.4.3)
48+
+ brightway2 metapackage version (2.4.7)
4249
+ python version (py310, py311, py312)
43-
+ the python distribution (official python 3 or miniconda3)
44-
+ Ecoinvent 3.X compatibility (3.8, 3.9) version [^1]
50+
+ the python distribution (official python 3 or micromamba)
51+
52+
4553

4654
The following images are built:
4755

4856
| Image Name | components |
4957
| ---------- | ---------- |
50-
| brightway/bw2:latest | brightway 2.4.3, py310, miniconda3, compatible with ecoinvent 3.9 |
51-
| brightway/bw2:2.4.3-py310-miniconda3-ecoinvent-3.9 |
52-
| brightway/bw2:2.4.3-py310-miniconda3-ecoinvent-3.8 |
58+
| brightway/bw2:latest | brightway 2.4.7, py311, micromamba|
59+
| brightway/bw2:2.4.7-py311-micromamba | brightway 2.4.7, py311, micromamba|
60+
| brightway/bw2:2.4.7-py310-micromamba | brightway 2.4.7, py310, micromamba|
61+
5362

54-
[^1]: Until a release of [bw2io](https://github.com/brightway-lca/brightway2-io) that is compatible with any ecoinvent version and all bw2x.
63+
### brightway25
64+
65+
The [brightway25](https://github.com/brightway-lca/brightway25) docker images are currently built and
66+
tagged based on the following different components of the image
67+
68+
+ brightway25 metapackage version (1.1.0)
69+
+ python version (py310, py311, py312)
70+
+ the python distribution (micromamba)
71+
72+
The following images are built:
73+
74+
| Image Name | components |
75+
| ---------- | ---------- |
76+
| brightway/bw25:latest | brightway25 1.1.0, py312, micromamba |
77+
| brightway/bw25:1.1.0-py312-micromamba| brightway25 1.1.0, py312, micromamba |
78+
| brightway/bw25:1.1.0-py311-micromamba| brightway25 1.1.0, py311, micromamba |
79+
| brightway/bw25:1.1.0-py310-micromamba| brightway25 1.1.0, py310, micromamba |
80+
| brightway/bw25:1.1.0-py39-micromamba| brightway25 1.1.0, py39, micromamba |

0 commit comments

Comments
 (0)