Skip to content

Commit

Permalink
Fixed review findings
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Feb 7, 2024
1 parent 5a68ce0 commit 9847de1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions doc/user_guide/docker/docker_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,21 +142,21 @@ port to the same port then you can connect with http://localhost:49494.
└─┘┴ ─┴┘┴ ┴ ┴ └─┘ ┴ └─┘└─┘┴└─ └┘└─┘┴ ┴ ┴ └─┘┴└─ ┴ ┴ ┴└─┘└─┘└┴┘└─┘┴└──┴┘ o
The default password is "ai-lab".
To update the password login to the Docker container as user root and run
To update the password, log in to the Docker container as the user root and run
/root/jupyterenv/bin/jupyter-lab server password
```

Using an internet browser you then can connect to the Jupyter server running in the Docker container in order to follow the tutorials presented by a set of Jupyter notebooks, see [Connecting to Jupyter Service](../user_guide.md#connecting-to-jupyter-service).

For parameter `<host>`: If your daemon machine is identical to the machine your browser is running on then you can replace `<host>` by `localhost` otherwise please use the IP address of the daemon machine.

The following section explains how to login to the Docker container in order to change the default password for example.
The following section explains how to log in to the Docker container to change settings, such as the default password.

## Login to the Docker container

To update the password you first need to login to the Docker container.
To update the password you must log in to the Docker container.

The following command shows the list of currently running Docker containers
First, you need to find out the container's ID. The following command shows the list of currently running Docker containers.

```shell
docker ps
Expand All @@ -169,7 +169,7 @@ CONTAINER ID IMAGE COMMAND NAMES
1199447716d4 image:2 "entrypoint" funny_rabbit
```

The following command enables you to login as user `root` to the specified container:
The following command enables you to log in as the user `root` to the specified container:

```shell
docker exec --user root -it ${CONTAINER_ID} bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def exit_on_error(rc):
└─┘┴ ─┴┘┴ ┴ ┴ └─┘ ┴ └─┘└─┘┴└─ └┘└─┘┴ ┴ ┴ └─┘┴└─ ┴ ┴ ┴└─┘└─┘└┴┘└─┘┴└──┴┘ o
The default password is "{password}".
To update the password login to the Docker container as user {user} and run
To update the password, log in to the Docker container as the user {user} and run
{binary_path} server password
""")
with open(logfile, "r") as f:
Expand Down

0 comments on commit 9847de1

Please sign in to comment.