diff --git a/docs/2.installation.md b/docs/2.installation.md index 28c3c81cd..341581640 100644 --- a/docs/2.installation.md +++ b/docs/2.installation.md @@ -61,10 +61,9 @@ The package will: 3. **Start the container**: ```shell docker run -d --name skydb \ - -v /home/docker-containers/skytable:/var/skytable \ + -v /home/docker-containers/skytable:/var/lib/skytable \ -p 2003:2003 \ - -e SKYDB_AUTH_ROOT_PASSWORD= \ - -e SKYDB_AUTH_PLUGIN=pwd skytable/skytable:latest + skytable/skytable:latest ``` **Replace with your own secure password!** @@ -72,7 +71,7 @@ The package will: - This starts a container with name `skydb` - It maps the folder (as discussed earlier) `/home/docker-containers/skytable` from your local file system to `/var/skytable` (in the container's file system) - Maps port `2003` on the host to the containers port `2003` so that you can use the command-line client `skysh` without having to inspect the container's IP address - - Set's some basic configuration: - - `SKYDB_AUTH_ROOT_PASSWORD`: sets the root password. you can't use Skytable without a `root` account - - `SKYDB_AUTH_PLUGIN`: this sets the authentication plugin to `pwd` which is the simplest authentication plugin - +:::tip +The password for the Skytable instance on the Docker container is auto-generated Run `docker logs -f skydb` and you'll see a log +message with the generated password. +:::