Skip to content

Commit 34c43e6

Browse files
committed
Changed procedure to link to procedure.
1 parent 959e3e8 commit 34c43e6

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

product_docs/docs/biganimal/release/getting_started/docker_env.mdx

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,7 @@ Using Docker for your local PostgreSQL development environment streamlines setup
1717

1818
* macOS: Download and install Docker Desktop from [Docker’s official website](https://docs.docker.com/desktop/install/mac-install/).
1919
* Windows: Download and install Docker Desktop from [Docker’s official website](https://docs.docker.com/desktop/install/windows-install/). Ensure WSL 2 is enabled if using Windows 10 or later.
20-
* Linux: Install Docker using your distribution’s package manager. For example, on Ubuntu:
21-
22-
```bash
23-
sudo apt update
24-
sudo apt install docker.io
25-
sudo systemctl start docker
26-
sudo systemctl enable docker
27-
sudo usermod -aG docker $USER
28-
newgrp docker
29-
```
20+
* Linux: Download and install Docker Desktop from [Docker's official website](https://docs.docker.com/desktop/install/linux-install/).
3021

3122
This sequence of commands updates the package lists, installs Docker, starts and enables Docker to run at boot, adds your user to the Docker group, and then immediately applies the group changes.
3223

@@ -156,10 +147,10 @@ Or use the connection string:
156147
3. **Recreate the container with the same volume.**
157148

158149
```bash
159-
docker run --name my_postgres -d \
160-
-e POSTGRES_PASSWORD=mysecretpassword \
161-
-v my_pgdata:/var/lib/postgresql/data \
162-
-p 5432:5432 postgres
150+
docker run --name my_postgres -d \
151+
-e POSTGRES_PASSWORD=mysecretpassword \
152+
-v my_pgdata:/var/lib/postgresql/data \
153+
-p 5432:5432 postgres
163154
```
164155
4. **Verify data persistence.**
165156

0 commit comments

Comments
 (0)