From f6fed5909b83792864acd68ff2909f6f2c182a4b Mon Sep 17 00:00:00 2001 From: Riccardo Casatta Date: Wed, 2 Nov 2022 07:47:21 +0100 Subject: [PATCH] Update DOCKER_README.md (#3158) * Update DOCKER_README.md Fix typo in the docker name * Update DOCKER_README.md Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com> --- openbb_terminal/DOCKER_README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/openbb_terminal/DOCKER_README.md b/openbb_terminal/DOCKER_README.md index a2710e8ed47..71a61d0cd44 100644 --- a/openbb_terminal/DOCKER_README.md +++ b/openbb_terminal/DOCKER_README.md @@ -85,9 +85,9 @@ If you don't have `Docker Compose` you can also use `Docker` directly to run the Here is the commands to run: ```bash -docker pull ghcr.io/openbb-finance/openbbterminal/poetry:X.Y.Z +docker pull ghcr.io/openbb-finance/openbbterminal-poetry:X.Y.Z -docker run -v ~/.openbb_terminal/:/home/python/.openbb_terminal -v ~/OpenBBUserData:/home/python/OpenBBUserData -it --rm ghcr.io/openbb-finance/openbbterminal/poetry:X.Y.Z +docker run -v ~/.openbb_terminal/:/home/python/.openbb_terminal -v ~/OpenBBUserData:/home/python/OpenBBUserData -it --rm ghcr.io/openbb-finance/openbbterminal-poetry:X.Y.Z ``` Be sure to replace `X.Y.Z` with the version you want to pull and run. @@ -122,7 +122,7 @@ docker compose run poetry Or run `Docker` directly: ```bash -docker run -v ~/.openbb_terminal:/home/python/.openbb_terminal -v ~/OpenBBUserData:/home/python/OpenBBUserData -it --rm --env DISPLAY=host.docker.internal:0.0 ghcr.io/openbb-finance/openbbterminal/poetry:X.Y.Z +docker run -v ~/.openbb_terminal:/home/python/.openbb_terminal -v ~/OpenBBUserData:/home/python/OpenBBUserData -it --rm --env DISPLAY=host.docker.internal:0.0 ghcr.io/openbb-finance/openbbterminal-poetry:X.Y.Z ``` ### X-Server on macOS @@ -150,8 +150,8 @@ xhost + $IP Now we can run the docker container, adding the display to the environment: -```bach -docker run -v ~/.openbb_terminal/:/home/python/.openbb_terminal -v ~/OpenBBUserData:/home/python/OpenBBUserData -it --rm --env-file=path/to/setenv --env DISPLAY=$IP:0 ghcr.io/openbb-finance/openbbterminal/poetry:X.Y.Z +```bash +docker run -v ~/.openbb_terminal/:/home/python/.openbb_terminal -v ~/OpenBBUserData:/home/python/OpenBBUserData -it --rm --env-file=path/to/setenv --env DISPLAY=$IP:0 ghcr.io/openbb-finance/openbbterminal-poetry:X.Y.Z ``` This container will be able to display all the same plots as the terminal interface. @@ -174,7 +174,7 @@ And run the following commands. ```bash xhost +local: -docker run -it --rm --name openbb --env-file=./.env -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ghcr.io/openbb-finance/openbbterminal/poetry:X.Y.Z +docker run -it --rm --name openbb --env-file=./.env -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ghcr.io/openbb-finance/openbbterminal-poetry:X.Y.Z xhost -local: ```