Skip to content

Commit

Permalink
[v1.7.x] Update the docs to pull the base openfl image from the GHCR …
Browse files Browse the repository at this point in the history
…repo (#1285)

* Updating the command for pulling the latest stable base image

Signed-off-by: Teodor Parvanov <[email protected]>

* Updating installation.md

Signed-off-by: Teodor Parvanov <[email protected]>

---------

Signed-off-by: Teodor Parvanov <[email protected]>
  • Loading branch information
teoparvanov authored Jan 17, 2025
1 parent 980709f commit 562c2e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ This method can be used to run federated learning experiments in an isolated env
> **Note:** OpenFL image hosted on `docker.io` has not been updated since the 1.5 release due to a change in namespace. We are working on this issue. In the meantime, use the instructions below to build an image from source.

```bash
docker pull intel/openfl
docker pull ghcr.io/securefederatedai/openfl/openfl:1.7
```

* Build from source:
Expand Down
6 changes: 3 additions & 3 deletions openfl-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ To develop or simulate experiments within a container, build the base image (or

```shell
# Pull latest stable base image
$> docker pull intel/openfl
$> docker pull ghcr.io/securefederatedai/openfl/openfl:1.7

# Or, build a base image from the latest source code
$> docker build . -t openfl -f Dockerfile.base \
--build-arg OPENFL_REVISION=https://github.com/securefederatedai/openfl.git@develop
--build-arg OPENFL_REVISION=https://github.com/securefederatedai/openfl.git@v1.7
```

Run the container:
```shell
user@vm:~/openfl$ docker run -it --rm openfl:latest bash
user@vm:~/openfl$ docker run -it --rm ghcr.io/securefederatedai/openfl/openfl:1.7 bash
user@7b40624c207a:/$ fx
OpenFL - Open Federated Learning

Expand Down

0 comments on commit 562c2e3

Please sign in to comment.